[Interest] Maximum URL length

Thiago Macieira thiago.macieira at intel.com
Thu Mar 15 14:25:55 CET 2018

On Thursday, 15 March 2018 06:15:42 PDT Konrad Rosenbaum wrote:
> Just in case: both HTTP and HTML recommend a maximum of 1024 (ASCII)
> characters for a URL. Servers are free to ignore header lines with longer
> URLs in them and browsers are free to cut them as well. Note that this is
> a recommendation, not a requirement.
> ...it all depends on how safe and compatible you want to be.

Additionally, most webservers come pre-configured to reject HTTP headers 
larger than 4 kB. This includes the URL but also all the cookies.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list