curl -i xxxxx 看看header
--
--
邮件自: 列表“openresty”,专用于技术讨论!
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com
详情: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
建议: 提问的智慧 http://wiki.woodpecker.org.cn/moin/AskForHelp
教程: http://agentzh.org/misc/nginx/agentzh-nginx-tutorials-zhcn.html
---
您收到此邮件是因为您订阅了 Google 网上论坛的“openresty”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 openresty+...@googlegroups.com。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
logs]# curl 'localhost/?cmd=get&key=1' >> 10 > >你能改用 curl -i 'localhost/?cmd=get&key=1' 命令同时查看响应头吗?这里最重要的是查看 Content-Type 响应头 :) > >> 但是用chrome浏览器就是提示下载 >> > >另外,记得测试前总是清空你的浏览器缓存 ;) 否则经常会被误导。 > >Best regards, >-agentzh > >-- >-- >邮件自: 列表“openresty”,专用于技术讨论! >发言: 请发邮件到 open...@googlegroups.com >退订: 请发邮件至 openresty+unsub...@googlegroups.com
> >--- >您收到此邮件是因为您订阅了 Google 网上论坛的“openresty”论坛。 >要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 openresty+unsub...@googlegroups.com。 >要查看更多选项,请访问 https://groups.google.com/groups/opt_out。 > >