mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

According to https://www.ietf.org/rfc/rfc2616.txt a 201 Created status code MUST only be returned when: "The origin server MUST create the resource before returning the 201 status code." hence, a 202 Accepted's definition is more appropriate: "The request has been accepted for processing, but the processing has not been completed. 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."