[转]IE浏览器地址栏最大长度

 

Maximum URL length is 2,083 characters in Internet Explorer

Article ID : 208427
Last Review : October 27, 2007
Revision : 3.4
This article was previously published under Q208427

SUMMARY

Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.

If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.

However, the POST method is not limited by the size of the URL for submitting name/value pairs. These pairs are transferred in the header and not in the URL.

RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1," does not specify any requirement for URL length.

REFERENCES

For a further breakdown of the components, see the Wininet header file.

For more information, see "General Syntax," section 3.2.1 of RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1," at the following Internet Society Web site:
ftp://ftp.isi.edu/in-notes/rfc2616.txt (ftp://ftp.isi.edu/in-notes/rfc2616.txt)
APPLIES TO
Windows Internet Explorer 7
Microsoft Internet Explorer (Programming) 6.0
Microsoft Internet Explorer 5.5
Microsoft Internet Explorer 5.01
Microsoft Internet Explorer 5.0
Microsoft Internet Explorer 4.01 Service Pack 2
Microsoft Internet Explorer 4.0 128-Bit Edition

你可能感兴趣的:(浏览器,Microsoft,IE,header,internet,Components)