![]() Its purpose is to allow a server to accept a request for some other process (perhaps a batch-oriented process that is only run once per day) without requiring that the user agent’s connection to the server persist until the process is completed. The request might or might not be eventually acted upon, or even maybe disallowed when processing occurs. It indicates that the request has been accepted for processing, but the processing has not been completed. 202 (Accepted)Ī 202 response is typically used for actions that take a long while to process. If the action cannot be carried out immediately, the server SHOULD respond with a 202 (Accepted) response instead. The origin server MUST create the resource before returning the 201 status code. ![]() The newly created resource can be referenced by the URI(s) returned in the entity of the response, with the most specific URI for the resource given by a Location header field. There may also be times when a new resource is created as a result of some controller action, in which case 201 would also be an appropriate response.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |