我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

为什么Apache / php Headers在Server和local上的情况不同

Is there an Apache or Php setting that would change a header returned by getallheaders() from Capitalized to lowercase?

On my localhost it receives an Authorization header but the same code returns authorization on the server. and the same client(Postman) is being used in both cases

As per the HTTP/1.1 spec Field names are case-insensitive.

https://www.ietf.org/rfc/rfc2616.txt

近期文章

  • 在多维数组上搜索值然后显示结果
  • 如果数据库脱机,如何防止MySQLi崩溃PHP脚本
  • 如何使用PHP和Mysql按照Json对象值将数据插入表中
  • 如何隐藏多个表单并使用事件单击jquery显示表单之一
  • 通过PHP(WP插件)将数组发送到前端JS变量,然后替换页面上的href链接(如果存在)
  • MySQLi多个准备语句
  • Codeigniter路由不适用于参数
  • 坚持使用PHP进行Python翻译
  • 在Symfony 2.7中以字符串形式获取表单验证错误
  • 试图让一个站点访问localhost :(端口)而不是localhost
  • 使用Zend_Mail发送带变量的链接
  • INNER JOIN的Where子句不起作用
  • ajax调用后curl和file_get_contents不起作用
  • 使用PHP设置XML属性[重复]
  • Page Watch计数器
  • 从Phalcon发送邮件[复制]
  • php artisan migrate - Laravel
  • PDO MySQL与PHP Usort
  • 如何在jQuery中存储密钥
  • 如何使用AJAX POST方法发送多种类型的值?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华