You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@abdera.apache.org by Chris Berry <ch...@gmail.com> on 2007/09/14 18:51:12 UTC

error code advice

Greetings
I was wondering if someone might advise me which HTTP Error code is  
most appropriate for the following condition:
When a user sends you Content which doesn't validate in some way...
I suppose this is just a 400 BAD REQUEST
But that (IMHO) is best suited to an ill-formed URI
I wish there was some kind of BAD CONTENT....
Thanks,
-- Chris 

S'all good  ---   chriswberry at gmail dot com




Re: error code advice

Posted by Chris Berry <ch...@gmail.com>.
sweet. I was unaware of these extensions.
Thanks much,
-- Chris  

On Sep 14, 2007, at 12:01 PM, James M Snell wrote:

> http://www.webdav.org/specs/rfc2518.html#STATUS_422
>
> Chris Berry wrote:
>> Greetings
>> I was wondering if someone might advise me which HTTP Error code  
>> is most
>> appropriate for the following condition:
>> When a user sends you Content which doesn't validate in some way...
>> I suppose this is just a 400 BAD REQUEST
>> But that (IMHO) is best suited to an ill-formed URI
>> I wish there was some kind of BAD CONTENT....
>> Thanks,
>> -- Chris
>> S'all good  ---   chriswberry at gmail dot com
>>
>>
>>
>>

S'all good  ---   chriswberry at gmail dot com




Re: error code advice

Posted by James M Snell <ja...@gmail.com>.
http://www.webdav.org/specs/rfc2518.html#STATUS_422

Chris Berry wrote:
> Greetings
> I was wondering if someone might advise me which HTTP Error code is most
> appropriate for the following condition:
> When a user sends you Content which doesn't validate in some way...
> I suppose this is just a 400 BAD REQUEST
> But that (IMHO) is best suited to an ill-formed URI
> I wish there was some kind of BAD CONTENT....
> Thanks,
> -- Chris
> S'all good  ---   chriswberry at gmail dot com
> 
> 
> 
>