Skip to content

Commit

Permalink
clarify multiple x tags and bulk mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
hzrd149 committed Aug 27, 2024
1 parent 4325aa7 commit 3d3b1b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buds/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d3b1b6

Please sign in to comment.