moo*_*moo 6 language-agnostic specifications http http-headers
编写HTTP状态标头的方法有很多种:
HTTP/1.1 404 Not Found Status: 404 Status: 404 Not Found
但哪个是语义正确且符合规范的方式?
编辑:通过状态标题我的意思是这样,使用诸如PHP的一个功能header().
header()
moo*_*moo 1
我发现的最接近答案的是Fast CGI 规范,它规定通过 Status 和 Location 标头设置状态代码。
归档时间:
16 年,8 月 前
查看次数:
2920 次
最近记录:
11 年,12 月 前