Re: [Bug 12] Destination header "consistent"

Lisa Dusseault wrote:
> 
> 
> On Oct 28, 2005, at 3:13 PM, Jim Whitehead wrote:
> 
>>> What if I remove the header from the response example, in addition to 
>>> Jim's suggested change?
>>>
>>
>> Urk, bad idea.
>>
>> The use of Location with MOVE is to be consistent with the semantics 
>> of the 201 response code.
>>
> Tacking on to my previous comment where I said I didn't think Location 
> was REQUIRED with 201...  note that in RFC2518, we had an example of 
> MKCOL, where the response was 201 Created without a Location header:
> 
> 8.3.3 Example - MKCOL
> 
>     This example creates a collection called /webdisc/xfiles/ on the 
> server www.server.org.
> 
>     >>Request
> 
>     MKCOL /webdisc/xfiles/ HTTP/1.1
>     Host: www.server.org
> 
>     >>Response
> 
>     HTTP/1.1 201 Created
> 

Lisa,

would you *please* read the sections from RFC2616 that define this?

Again, from 
<http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.14.30>:

"The Location response-header field is used to redirect the recipient to 
a location other than the Request-URI for completion of the request or 
identification of a new resource."

The location isn't different, so no new URI is needed.


Best regards, Julian

Received on Saturday, 29 October 2005 08:33:22 UTC