1 Jul 2011 05:52
Re: status code for header fields to big
Personally - I think 413 is good for this; the response body and/or headers can fine-tune as to why it was rejected (as with any other error response). Recall that we've already tuned the definition of 413 to say The server is refusing to process a request because the request representation is larger than the server is willing or able to process. note 'representation' -- which includes headers. Cheers, On 30/06/2011, at 10:46 PM, Julian Reschke wrote: > Hi, > > I quickly ran some tests, and the results are (with what I suppose are the default settings): > > Apache-Coyote/1.1 (Tomcat): > > Limit for a single header field: ~8000 > Limit for all fields: ~8000 > Status Code: 400 > > Apache/2.2.14: > > Limit for a single header field: ~8180 > Limit for all fields: > 16000 > Status Code: 400(Continue reading)
> (although it does have "431 Request Header Fields Too Large"). Where did
> we end up on this one?
> ...
The definition of 413 will be reverted back to what it said before
change <
RSS Feed