Fully-qualified urls in HTTP Location header. Why it is important?

心不动则不痛 提交于 2019-12-24 01:23:46

问题


So I've got some warnings from Fiddler that I have bad urls in HTTP Location header and they are should be fully-qualified. Why it's so important and what issues that can lead to?


回答1:


The old standard for HTTP/1.1 (RFC 2616 § 14.30) required that Location be an absolute URI.

Implementation experience showed that this was not important, and many implementations allowed relative URIs in Location, so the current standard (RFC 7231 § 7.1.2) allows relative URIs.



来源:https://stackoverflow.com/questions/37412756/fully-qualified-urls-in-http-location-header-why-it-is-important

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!