W3C home > Mailing lists > Public > www-talk@w3.org > March to April 2001

RE: Implementing HTTP PUT

From: Fish <fish@infidels.org>
Date: Tue, 27 Mar 2001 00:42:52 -0800
To: <www-talk@w3.org>
Message-ID: <000301c0b699$e9722f80$0200a8c0@proteva.family>
<snip>

> Anyway, my real question is what is the proper response to a PUT request. It
> is clear what should go with a 201 Created response, but what type of
> response should be returned with an error and a 200 OK is unclear.

Huh? I'm not sure I understand the question.

A 'PUT' is a request and a '200 OK' or a '201 Created' is a response to that
request. It's obvious you already knew that since you mentioned it in your
question, but the wording of your question makes it unclear to me as to exactly
what you're confused about.

What do you mean by: "What type of RESPONSE should be returned with an error
[RESPONSE] and a 200 OK [RESPONSE]..."? (emphasis mine)

Do you see what I'm getting at here? You're basically asking: "What type of
response should be returned with a response," which needless to say is quite an
odd question for someone to ask. :)

Could you perhaps mean which of the variety of *response HEADERS* should/must
one include in their response to a PUT request??

--
"Fish" (David B. Trout)
   fish@infidels.org
Received on Tuesday, 27 March 2001 03:43:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:25 GMT