public:it:html

这是本文档旧的修订版!


HTTP、HTML

  • Nginx,Apache等代理默认会忽略带下划线的 header: Nginx Doc
    • If you do not explicitly set underscores_in_headers on;, NGINX will silently drop HTTP headers with underscores (which are perfectly valid according to the HTTP standard). This is done in order to prevent ambiguities when mapping headers to CGI variables as both dashes and underscores are mapped to underscores during that process
  • 使用 XMLHttpRequest 时,部分 header 是禁止自行添加更改的:MDN, XMLHttpRequest标准forbidden-header-name
  • public/it/html.1705024261.txt.gz
  • 最后更改: 2024/01/12 09:51
  • oakfire