On Sun, Oct 31, 2010 at 6:02 PM, Eric Covener <[email protected]> wrote:
> On Sun, Oct 31, 2010 at 8:09 PM, Mohit Anchlia <[email protected]> wrote:
>> On Wed, Sep 8, 2010 at 2:23 PM, Mohit Anchlia <[email protected]> wrote:
>>> I am trying to test LimitRequestBody. It looks like it always returns
>>> Http code 500. Is this as expected?  I thought it's supposed to return
>>> Http 413.
>>>
>>> Is there a way to change the return code of LimitRequestBody?
>>>
>>
>> Can someone please help me answer this question? I have a requirement
>> to use some specific text but can't do that if it keeps returning 500
>> status code. 500 status code is too generic. Shouldn't it be returning
>> 413?
>
> returns 413 here.

I am seeing the following when I add "LimitRequestBody 400" for my
test in virtual host

500 (Internal Server Error) Can't read entity body: Connection reset by peer
Content-Type: text/plain
Client-Date: Thu, 04 Nov 2010 22:36:21 GMT
Client-Warning: Internal response

500 Can't read entity body: Connection reset by peer
Error Code :500 Can't read entity body: Connection reset by peer

>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: [email protected]
>>   "   from the digest: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
>
> --
> Eric Covener
> [email protected]
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [email protected]
>   "   from the digest: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to