Michael Weller wrote:
>
> Are there any restrictions how many characters a
> URL may contain?
>

 In theory, no. In practice, yes. Check the archives
for details, try "url length limit" as search terms.

(The archives have been very, very slow to respond.
If I were Sun, I would find that a little embarrassing,
Ah, right: now I'm getting error messages from the
listserv: "The server is probably not started". That's
just pitiful.)

 OK, well, you might check if the archives are back
up by the time this message gets to the list, but in
the mean time:

 rfc2616 section 3.2 sez:

   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.

 but also:

   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.

 Much more detail in the archives, also remember proxy
caches like Squid have hard limits, even if your browser
and server can handle long URL's, so local testing won't
do it if you're going to deploy on the public internet...


-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