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

发布时间: 2015-06-17 10:25:00


refer to:

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...)