What is the maximum size of HTTP header values?

Web ServicesserverHTTP

Most web servers have their own set of size limits on HTTP request headers. The HTTP Header values are restricted by server implementations. The following are the limits of some of the most popular web servers −

Web Server
Size Limit
Apache
8K
Nginx
4K-8K
IIS
8K-16K
Tomcat
8K – 48K

If the header size exceeds the above limit, the server returns 413 Entity Too Large error.


raja
Published on 31-Jan-2018 17:06:14
Advertisements