opensubscriber
   Find in this group all groups
 
Unknown more information…

z : zope@zope.org 7 September 2009 • 9:17PM -0400

Re: [Zope] http return code of standard_error_message
by Peter Bengtsson

REPLY TO AUTHOR
 
REPLY TO GROUP




Don't raise errors that cause 500 type HTTP error codes on input validation.
It's not an error. It's a user input error.

2009/9/7 Ulla Theiss <u.theiss@euro...>:
> Hallo list,
>
> because the application error messages like checks of input values
> produce such error messages.
> The browser "firefox" does display these messages, but the "Internet
> Explorer" with the newest updates does not.
> The "Internet Explorer" displays a own error message instead. Only if
> you manipulate the flag "show friendly http error messages" the
> body of standard_error_messages is *always* displayed. But  we think, it
> would be difficult to  make shure that every user does this.
>
> Ulla
>
> Chris Withers wrote:
>> Ulla Theiss wrote:
>>> Hello list,
>>>
>>> is there a possibility to send the standard_error_message with http
>>> return code 200 (ok) instead of 500 (internal_server_error)?
>>
>> Why would you want to? That's in violation of several http specs...
>>
>> Chris
>>
>
> _______________________________________________
> Zope maillist  -  Zope@zope...
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope-dev )
>



--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
fun crosstips.org
_______________________________________________
Zope maillist  -  Zope@zope...
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.