What is the maximum size of HTTP header values?


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.


Updated on: 16-Jun-2020

10K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements