Wouldn't that trigger the IE 'friendly error page'?
--
Cheers
Koz
The IE 'friendly error pages' usually occur when the HTML message-body
is smaller than
a specific number of bytes. I think the 412 error code is excluded
from this, but
many 4xx and 5xx status codes aren't:
http://www.404-error-page.com/404-error-page-too-short-problem-microsoft-ie.shtml
To get around this problem I've seen systems that pad HTML message-
bodies with spaces
or null characters to either 256 or 512 bytes depending on the status
code.
--
Thanks,
Dan
__________________________________________________________________
Dan Kubb
Autopilot Marketing Inc.
Email: dan....@autopilotmarketing.com
Phone: 1 (604) 820-0212
Web: http://autopilotmarketing.com/
__________________________________________________________________
I'm not a huge user of verification, I prefer explicit filters, but if
someone who is feels like implementing this and testing in IE to see
if it triggers 'friendly errors', seems like this is worth a look.
--
Cheers
Koz
412 Precondition Failed
The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server. This response code allows the client to place preconditions on the current resource metainformation (header field data) and thus prevent the requested method from being applied to a resource other than the one intended. This refers to conditional headers like If-None-Match and If-Unmodified-Since, none of which are checked here. Except for method verification which should be 405 (Method Not Allowed), I think the best status code would be 403 (Forbidden, not to be confused with 401, Unauthorized): The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. Assaf