PUT request from the packager

Packager uses HTTP PUT to publish the content to Origin Server. The file location in the disk is decided by the base URL. Origin Server serves only the files corresponding to successful PUT requests. Origin Server allows a PUT request over a successful PUT request happened before. In this case, if the PUT request is successful, the existing file is overwritten. If the PUT request is failed, it doesn't replace the original file.

Origin Server returns the following errors for PUT requests:
Error message Description
HTTP 401 Unauthorized - request is without a security token or with an invalid or expired security token.
HTTP 403 Forbidden - the folder name already exists.
HTTP 500 Internal Server error - any other error. For example, the length of a PUT request exceeded the <MaxContentLength> that is configured.
HTTP 507 Insufficient Storage - exceeded the storage limits and Origin Server is not able to clean up in time.