[AWS] The new Too_Many_Parameters exception

Thomas Løcke thomas.granvej6 at gmail.com
Thu Feb 9 11:13:16 CET 2012


On Thu, Feb 9, 2012 at 11:01 AM, Pascal Obry <pascal at obry.net> wrote:
>
>
> There is no way to get this exception at the user level. This is a 500
> (Server Error)
> message and this is what a user will get as a response in the browser.
>



I'm using AWS.Server.Set_Unexpected_Exception_Handler, so issuing a 500
when there are too many POST parameters isn't a big problem. It can be
handled.



> Thinking more about this it is probably better to return a 403
> (Forbidden) error code
> as this is a not a server error at all!



Yea, I could see this work also. The user is doing something "bad", and
hence he's hit with a forbidden error. There's some solid logic in that.

:o)
Thomas Løcke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/aws/attachments/20120209/8216492d/attachment.htm 


More information about the AWS mailing list