Add TODO note
This commit is contained in:
parent
8bcf3854c2
commit
f0d6e6c2c4
@ -30,6 +30,8 @@ module RemoteStorage
|
|||||||
headers = { "Content-Type" => content_type }
|
headers = { "Content-Type" => content_type }
|
||||||
auth_headers = auth_headers_for("PUT", url, headers, data)
|
auth_headers = auth_headers_for("PUT", url, headers, data)
|
||||||
|
|
||||||
|
# TODO check if put was successful, e.g. it's returning a 413 directly
|
||||||
|
# if the back-end does, too (missing CORS headers in that case)
|
||||||
res = RestClient.put(url, data, headers.merge(auth_headers))
|
res = RestClient.put(url, data, headers.merge(auth_headers))
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user