Skip to content

Commit

Permalink
spec: Location can be absolute or relative
Browse files Browse the repository at this point in the history
From the spec it is not clear how the `Location` header must be set.
This comment clarifies the behavior.

Fixes issue #79

Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha committed Jan 6, 2020
1 parent 2c3975d commit 50be64d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ Uploads are started with a POST request which returns a url that can be used to

The `Location` header will be used to communicate the upload location after each request.
While it won't change in the this specification, clients SHOULD use the most recent value returned by the API.
Note that the `Location` header value returned may either be absolute or relative as described in
[RFC 7231](https://tools.ietf.org/html/rfc7231#section-7.1.2).

##### Starting An Upload

Expand Down

0 comments on commit 50be64d

Please sign in to comment.