views:

2427

answers:

1

Is there an accepted maximum allowed size for HTTP headers? If so, what is it? If not, is this something that's server specific or is the accepted standard to allow headers of any size?

+12  A: 

No, HTTP does not define any limit. However most web servers do limit size of headers they accept. For example in Apache default limit is 8KB, in IIS it's 16K.

Related question: http://stackoverflow.com/questions/654921/how-big-can-a-user-agent-string-get

vartec