URL最长是多少?
来源:互联网 发布:澳洲淘宝 编辑:程序博客网 时间:2024/06/11 01:57
What is the maximum length of a URL?
RFC 2616 (Hypertext Transfer Protocol HTTP/1.1) section 3.2.1 says
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.
That's what the standards say. For the reality, see this research over at boutell.com to see what individual browser and server implementations will support. It's worth a read, but the executive summary is:
Extremely long URLs are usually a mistake. URLs over 2,000 characters will not work in the most popular web browser. Don't use them if you intend your site to work for the majority of Internet users.
- URL最长是多少?
- URL/URI最大长度是多少?
- http协议中,url最大长度是多少?
- 是多少
- POJ 3261 后缀数组 可重叠的,但是要重叠K次的 最长公共前缀最长是多少
- 总是以UTF-8发送URL(需要重启动)注册表键值是多少
- 最高分是多少
- 范德萨范德萨发是多少
- 最高分是多少
- 最高分是多少
- 最高分是多少
- 最高分是多少
- 最高分是多少
- 最高分是多少
- 最长
- i的值是多少?
- 你家的GDP是多少
- JVM的内存是多少
- 认清软件测试价值所在 软件测试该有的能力
- 扩展Windows Azure上的ASP.NET应用程序
- .Net开发中报表工具选择的体会
- PowerBuilder 12使.NET的应用开发更快捷
- android 广播接收者--BroadcastReceiver (实现短信窃听)
- URL最长是多少?
- 我个人认为.NET总有开源的一天
- 多线程(五)Guarded+Blocks--这真的是非常非常重要的知识点
- 解决 GT240 显卡的电脑运行时花屏、死机的方法
- Java实例1 - 朴素字符匹配 Brute Force
- 实用网站珍藏
- Java实例2 - 冒泡排序 Bubble Sort
- Java实例3 - 三角数字
- 素质教育,会呼吸的痛。