Re: length limit of URL?
| From: | Ernest E Vogelsinger | Date: | Sat, 03 Mar 2001 14:47:58 +0000 |
| Subject: | Re: length limit of URL? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42446@lists.php.net to get a copy of this message | ||
At 14:02 03.03.2001, Michael Hall said:
--------------------[snip]--------------------
>Does anyone know the practical limit to the length of a URL? Some of mine
>are now 100 characters long with heaps of variables packed in, so I'm
>wondering what the limits are?
--------------------[snip]--------------------
Excerpt from RFC 2616 (http://www.ietf.org/rfc/rfc2616.txt), Page 18
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.
...ebird
>O Ernest E. Vogelsinger
(\) http://www.1-at-web.at/
^ ICQ# 13394035