http GET请求的最大限制,最少的是2K,最大的可以达到8K

访问量: 659

呃呃呃,我记错了。。。。

refer to:  http://stackoverflow.com/questions/2659952/maximum-length-of-http-get-request

The limit is in MSIE and Safari about 2KB, in Opera about 4KB and in Firefox about 8KB. We may thus assume that 8KB is the maximum possible length and that 2KB is a more affordable length to rely on at the server side and that 255 bytes is the safest length to assume that the entire URL will come in.

可以认为, 255是最安全的(不需要任何server做配置), 2KB是最少的(需要server配置?, IE ),8KB最多。(firefox, chrome...)

订阅/RSS Feed

Subscribe

分类/category