有谁知道地址栏字符串长度最长为多少个字符?

RISONG 2006-01-30 10:58:10
有谁知道地址栏字符串长度最长为多少个字符?是不是255个?
...全文
568 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
gdos 2006-02-01
  • 打赏
  • 举报
回复
2048差不多
mfkiqpl 2006-01-31
  • 打赏
  • 举报
回复
我也想知道。。。学习。。
xuefengal 2006-01-31
  • 打赏
  • 举报
回复
补充一下,上面说错了,说的是ISA中默认设置的长度

正确的是:255

资料来源: RFC 2616

3.2.1 General Syntax

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.
xuefengal 2006-01-31
  • 打赏
  • 举报
回复
默认值是10240
亦续缘 2006-01-30
  • 打赏
  • 举报
回复
2048

28,405

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧