11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SHOULD include an entity containing a list of resourcecharacteristics and location(s) from which the user or user agent canchoose the one most appropriate. The entity <strong>for</strong>mat is specified bythe media type given in the Content-Type header field. The originserver MUST create the resource be<strong>for</strong>e returning the 201 status code.If the action cannot be carried out immediately, the server SHOULDrespond with 202 (Accepted) response instead.A 201 response MAY contain an ETag response header field indicatingthe current value of the entity tag <strong>for</strong> the requested variant justcreated, see section 14.19.10.2.3 202 AcceptedThe request has been accepted <strong>for</strong> processing, but the processing hasnot been completed. The request might or might not eventually beacted upon, as it might be disallowed when processing actually takesplace. There is no facility <strong>for</strong> re-sending a status code from anasynchronous operation such as this.The 202 response is intentionally non-committal. Its purpose is toallow a server to accept a request <strong>for</strong> some other process (perhaps abatch-oriented process that is only run once per day) withoutrequiring that the user agent's connection to the server persistuntil the process is completed. The entity returned with thisresponse SHOULD include an indication of the request's current statusand either a pointer to a status monitor or some estimate of when theuser can expect the request to be fulfilled.10.2.4 203 Non-Authoritative In<strong>for</strong>mationThe returned metain<strong>for</strong>mation in the entity-header is not thedefinitive set as available from the origin server, but is gatheredfrom a local or a third-party copy. The set presented MAY be a subsetor superset of the original version. For example, including localannotation in<strong>for</strong>mation about the resource might result in a supersetof the metain<strong>for</strong>mation known by the origin server. Use of thisresponse code is not required and is only appropriate when theresponse would otherwise be 200 (OK).<strong>Fielding</strong>, et al. Standards Track [Page 59]RFC <strong>2616</strong> HTTP/1.1 June 199910.2.5 204 No ContentThe server has fulfilled the request but does not need to return anentity-body, and might want to return updated metain<strong>for</strong>mation. The

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!