httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Limiting Request Body suggestion
Date Fri, 29 Oct 2010 10:36:19 GMT
On Thu, Oct 28, 2010 at 4:41 PM, William A. Rowe Jr.
<wrowe@rowe-clan.net> wrote:
> On 10/28/2010 10:17 AM, Tom Evans wrote:
>> That has well known solutions doesn't it? Pad your page to more than
>> 512 bytes, and Robert is the brother of your mother.
>
> I don't know that 512 will do the trick in all cases.
>
> At one point IE had me convinced that if the size of its message was longer
> than the size of the server provided message, it would override with IE's
> choice.  Something in the neighborhood of 1k seemed to always work to show
> the server provided messages.
>

Greater than 512 bytes will override IE 6, 7, 8 and Chrome's helpful
error messages. In fact, for certain error response codes, only
greater than 256 bytes is required for IE to display the server
supplied message. Depending on IE version, these values are in the
registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
Explorer\Main\ErrorThresholds.

It's important to note that certain versions of IE use the value of
the Content-Length header, rather than the actual size of the message
body. This can cause a difference if the content is gzip'ed, so you
must ensure that the gzip'ed content is still large enough.

Cheers

Tom

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message