On Tue, 2008-08-19 at 11:43 +0200, Lawrence Oluyede wrote:

> I disagree. TCP is the transport protocol (which resides at the
> transport level of the stack).
> HTTP is an application protocol (which resides on top of the stack),
> and I'm pretty sure that
> the creators of HTTP intended to use 400 BAD REQUEST also for such
> cases. As the spec says:
> 
> " The request could not be understood by the server due to malformed
> syntax. The client SHOULD NOT repeat the request without
> modifications. "

The "malformed syntax" they refer to is the HTTP protocol syntax (for
example, malformed, missing, or improperly escaped HTTP headers, URLs,
etc).  

The key phrase here is "the request could not be understood by the
server".  

If a form is missing a field, your server still understood (and could
process) the request, it's your application that refuses the request
because of its own requirements that are completely separate from the
requirements of the HTTP server.

Regards,
Cliff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to