On 2/6/06 2:07 PM, "Tim Bray" <[EMAIL PROTECTED]> wrote:

>> [[[
>> If an entry was created in the collection which received the POST,
>> its URI MUST be returned in a Location HTTP header.
>> ]]]
>> 
>> [[[
>> The request body of the POST need not be an Atom entry; for
>> example, it  might be a picture or a movie.
>> ]]]
>> 
>> These are not consistent. Replace the first with:
>> 
>> """
>> If a resource was created in the collection which received the
>> POST, its URI MUST be returned in a HTTP Location header.
>> """
> 
> I agree that "HTTP Location" is better than "Location HTTP", but I
> don't see the inconsistency.

what I see is that in the latter it says the POST body might be a non-entry
resource, but in the former it says "if an entry was created".

So ... if an image resource was POSTed, and an entry created for it in the
entry, which URI gets returned ... the URI to the entry, or the URI to the
image resource?

The suggested replacement wording doesn't help me ... my understanding is
that two resources would be created (the entry, the image), and the image
resource is "in" the collection via the proxy of the entry ... so which URI
would I get back?

e.

Reply via email to