Add TODO note

This commit is contained in:
Basti 2024-03-05 16:59:37 +01:00
parent 8bcf3854c2
commit f0d6e6c2c4
Signed by: basti
GPG Key ID: 9F88009D31D99C72
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ module RemoteStorage
headers = { "Content-Type" => content_type }
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))
return [