>[snip]
>> HTTP/1.1 201 Created
>> Location: http://app.example.net/entry/1
>> Content-Type: application/atom+xml
>> Content-Length: nnn
>>
>> <entry xmlns="…">
>>     <title>Your article has been submitted</title>
>>     <id>tag:app.example.net,2006-04-26:success-231</id>
>>     <author><name>Submission Bot</name></author>
>>     <link rel="related" href="http://app.example.net/entry/1";
>> title="Your article" />
>>     <content type="xhtml"><div xmlns="…">
>>         <p>Your article has been submitted. It will be reviewed by our
>> staff before being published or rejected.</p>
>>         <p>You can follow the whole process at the following URI:
>>             <a 
>> href="http://app.example.net/entry/1";>http://app.example.net/entry/1</a>.</p>
>>     </div></content>
>> </entry>
> 

In this case, I would expect a 202 Accepted response rather than 201
Created.  In which case, the kind of informational content in the
example would be perfectly acceptable.

    "The entity returned with this response SHOULD include an
     indication of the request's current status and either a
     pointer to a status monitor or some estimate of when the
     user can expect the request to be fulfilled."

- James

Reply via email to