shenyue_sam 发表于 2014-11-29 08:59

nginx为什么向fastcgi server发送HTTP_CONTENT_TYPE头?

win7, nginx-1.6.2, 后端连接fastcgi,配置如下,      location ~ \.py$ {
            root         html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_indexindex.py;
            fastcgi_paramSCRIPT_FILENAME$fastcgi_script_name;
            include      fastcgi_params;
      }
抓包发现传给fastcgi server的http头中,
不仅有CONTENT_TYPE,CONTENT_LENGTH,
还有HTTP_CONTENT_TYPE,HTTP_CONTENT_LENGTH。
这是为什么?可以让nginx不发送HTTP_CONTENT_TYPE,HTTP_CONTENT_LENGTH吗?
页: [1]
查看完整版本: nginx为什么向fastcgi server发送HTTP_CONTENT_TYPE头?