[Web 开发] URL 的最大长度
来源:互联网 发布:ubuntu卸载anaconda 编辑:程序博客网 时间:2024/05/18 09:30
Web开发的常见问题: "URL 的最大长度是多少?"
答案是:
HTTP协议标准并没有规定URL的最大长度。
RFC文档: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2
The HTTP protocol does not place any a priori limit on the length of a URI. Servers MUST be able to handle the URI of any resource they serve, and SHOULD be able to handle URIs of unbounded length if they provide GET-based forms that could generate such URIs. A server SHOULD return 414 (Request-URI Too Long) status if a URI is longer than the server can handle (see section 10.4.15).
Note: Servers ought to be cautious about depending on URI lengths above 255 bytes, because some older client or proxy implementations might not properly support these lengths.
虽然标准没有规定长度,不同的浏览器对URL做一定限制。 IE的URL长度上限是2083: http://support.microsoft.com/kb/208427
>> 原创文章的版权属于作者,转载请注明出处(http://blog.csdn.net/WinGeek/), 谢谢。 <<
- [Web 开发] URL 的最大长度
- [Web 开发] URL 的最大长度
- [Web 开发] URL 的最大长度
- URL 的最大长度
- http协议中url的最大长度
- http协议中url的最大长度
- URL最大长度限制
- URL最大长度限制
- URL最大长度限制
- URL最大长度问题
- URL最大长度问题
- URL最大长度问题
- URL最大长度问题
- url请求最大长度
- URL最大长度问题
- URL最大长度问题
- HTTP URL最大长度
- URL最大长度
- 核心编程边读边小结4
- if else终结者
- 笔者关心的最近在北京发生的技术事件
- VC3
- RST130-V,RST130-VC,RST130-VN
- [Web 开发] URL 的最大长度
- ASP.NET MVC引入JQUERY JQRTE控件
- 可刷新的JS树形菜单特效
- 转: 30个Oracle语句优化规则详解
- 如何看出个股分时走势中的最佳买卖点
- 一个程序类比一个笑话
- Dangerous
- HBCZT信息中心Weblogic Server性能调优
- 六十星系之41天府独坐丑未