Restrictions on the URL Length in HTTP (data sorting) and url LengthURL length limit in HTTP
First, the url Length in http 1.1 is not restricted:
The HTTP protocol does not place any a priori limit on the length of a URI. servers MUST be able to
Users get used to the convenience and convenience of passing parameters in URLs. However, most people do not know how to request a page through get and pass a too long parameter, the IE browser automatically intercepts characters that exceed the
What is HTTP? Hypertext Transfer Protocol (Hypertext Transfer Protocol-HTTP) is a protocol designed to enable clients and servers to communicate smoothly. HTTP works with Request-response protocol (Request-reply protocol) between the client and the
URL length restrictions in HTTP (data collation)
URL length limit in HTTP
First of all, in fact the HTTP 1.1 protocol to the length of the URL is unrestricted, the original protocol:
The HTTP protocol does not place any a priori limit on the
The HTTP 1.1 protocol does not limit the length of the URL, as follows:
The HTTP protocol does not place any a priori limit on the length of a URI. Servers must is able to handle the URI of any resource they serve, and should is able to handle URIs
The HTTP RFC2616 protocol does not specify the maximum length of the URL, but requires the server to return a 414 status code (Request-uri Too long) If it cannot process a URL that is too long.
The HTTP RFC2616 protocol states that some old clients
As a result of the previous Web project, to use Get method to get data, but the results are often error, after careful investigation to find that the original URL length exceeded the limit, by shortening the URL and send multiple requests to solve
Through the problem of URL value, so the URL string is encodeuricomponent the URL string content encoding, problem resolution, but sometimes the request filtering module is configured to deny A request where the query string is too long, the problem
The HTTP protocol does not limit the URL length. this is described in RFC. HTTP does not limit the URI length, the server must be able to process any URIs that can be accepted by the services they provide. URL length limit
The HTTP protocol does not
Each browser http GET request URL maximum length is not the same, a few types of common browser maximum length and the maximum length after the submission of the following:Ie6.0:url the maximum length of 2,083 characters and cannot be submitted
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.