Christian Cryder wrote:
>
> Jason Hunter's servlet book states "some servers limit the length of URLs
> and query strings to about 240 characters" (p 16)
>
> Does anyone have any more precise figures? What servers? What's are the
> exact limitations? Is a limit defined in the HTTP spec?
>

 The latest http spec is rfc2616, available from:

 <URL:http://www.rfc-editor.org/>

 Quoting from it:

 "3.2.1 General Syntax

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

 You can also find some discussion in the archives of the servlet
interest list. Although I don't remember anybody listing
particular browser/proxy limits, it might be worth a look.


-cks

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to