Http 409 explanation

4 views
Skip to first unread message

animesh

unread,
Sep 11, 2008, 2:58:20 AM9/11/08
to Google Data Protocol
Hi,

What i read from various explanations in case of PUT, you get a 409
when there is some resource conflict. Perfectly Understood.

1. I need to know when a user agent sends a PUT for a valid URI, but
there is no Content in the PUT headers, What error response should i
expect. A 409 or 400 response?


2. Also if a user agent is sending a request to server but the server
depends upon another server, say third party server communicating on
NON HTTP protocol, and this third party server send me some Error then
what HTTP code should i send back to the user agent as per Standards.

Regards,
Animesh

Jeff Fisher (Google)

unread,
Sep 12, 2008, 4:07:24 PM9/12/08
to Google Data Protocol
Hi,

1.) It should be a 400 bad request.

2.) I'm not sure I understand this question, but I believe a 500
"Internal Server Error" would be appropriate.

Cheers,
-Jeff
Reply all
Reply to author
Forward
0 new messages