clarify multiple x tags and bulk mirror

This commit is contained in:
hzrd149 2024-08-27 13:46:30 +03:00
parent 4325aa7989
commit 3d3b1b6e2f
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ Clients MUST set the `Authorization` header to an upload authorization event def
The `/mirror` endpoint MUST download the blob from the specified URL and verify that there is at least one `x` tag in the authorization event matching the sha256 hash of the download blob
**Multiple `x` tags MUST NOT be interpreted as the user requesting a bulk mirror.**
The endpoint MUST return a [Blob Descriptor](#blob-descriptor) if the mirroring was successful or an error object if it was not
Servers should re-use the `Content-Type` header returned from the URL to discover the mime type of the blob. if none is returned it may use the file extension in the URL