mirror of
https://github.com/hzrd149/blossom.git
synced 2025-12-08 14:58:49 +00:00
fix typeo
format BUD-06
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
BUD-06
|
||||
======
|
||||
# BUD-06
|
||||
|
||||
Upload requirements
|
||||
---------------
|
||||
## Upload requirements
|
||||
|
||||
`draft` `optional`
|
||||
|
||||
@@ -16,7 +14,7 @@ The `HEAD /upload` endpoint `MUST` use the `X-SHA-256`, `X-Content-Type` and `X-
|
||||
|
||||
- `X-SHA-256`: A string that represents the blob's SHA-256 hash.
|
||||
- `X-Content-Length`: An integer that represents the blob size in bytes.
|
||||
- `X-Content-Type`: A string that specifies the fblobile's MIME type, like `application/pdf` or `image/png`.
|
||||
- `X-Content-Type`: A string that specifies the blob's MIME type, like `application/pdf` or `image/png`.
|
||||
- `X-Upload-Message`: A human readable message that explains the reason why the upload cannot proceed.
|
||||
|
||||
### Upload Authorization
|
||||
@@ -43,7 +41,6 @@ HTTP/1.1 200 OK
|
||||
|
||||
If the upload cannot proceed, the server `MUST` return an appropriate `4xx` HTTP status code and a custom header `X-Upload-Message` with a human readable error message.
|
||||
|
||||
|
||||
Some examples of error messages:
|
||||
|
||||
```http
|
||||
|
||||
Reference in New Issue
Block a user