From 50be64d2017f3773e91e56e8b32ba07adcbd3e42 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Mon, 6 Jan 2020 13:21:47 -0800 Subject: [PATCH] spec: `Location` can be absolute or relative 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 --- spec.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec.md b/spec.md index 8ee5525a..5a5ca3ea 100644 --- a/spec.md +++ b/spec.md @@ -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