We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a1fa4d commit 6c58a27Copy full SHA for 6c58a27
js/app/component/gif.js
@@ -73,7 +73,7 @@ export const gif = (() => {
73
*/
74
const fetchPut = (c, retries = 3, delay = 1000) => request(HTTP_GET, url)
75
.default()
76
- .then((r) => r.blob().then((b) => c.put(url, new Response(b, { headers: r.headers })).then(() => b)))
+ .then((r) => r.blob().then((b) => c.put(url, new Response(b, { headers: new Headers(r.headers) })).then(() => b)))
77
.catch((err) => {
78
if (retries <= 0) {
79
throw err;
0 commit comments