braidfs 0.0.79 → 0.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -489,7 +489,7 @@ async function proxy_url(url) {
|
|
|
489
489
|
signal: a.signal,
|
|
490
490
|
headers: {
|
|
491
491
|
"Merge-Type": "dt",
|
|
492
|
-
"Content-Type": '
|
|
492
|
+
"Content-Type": 'text/plain',
|
|
493
493
|
...(x => x && {Cookie: x})(config.cookies?.[new URL(url).hostname])
|
|
494
494
|
},
|
|
495
495
|
method: "PUT",
|
|
@@ -673,7 +673,7 @@ async function proxy_url(url) {
|
|
|
673
673
|
signal: a.signal,
|
|
674
674
|
headers: {
|
|
675
675
|
"Merge-Type": "dt",
|
|
676
|
-
Accept: '
|
|
676
|
+
Accept: 'text/plain',
|
|
677
677
|
...(x => x && {Cookie: x})(config.cookies?.[new URL(url).hostname]),
|
|
678
678
|
},
|
|
679
679
|
subscribe: true,
|
|
@@ -732,7 +732,7 @@ async function proxy_url(url) {
|
|
|
732
732
|
signal: a.signal,
|
|
733
733
|
method: "HEAD",
|
|
734
734
|
headers: {
|
|
735
|
-
Accept: '
|
|
735
|
+
Accept: 'text/plain',
|
|
736
736
|
...(x => x && {Cookie: x})(config.cookies?.[new URL(url).hostname]),
|
|
737
737
|
},
|
|
738
738
|
retry: true
|
|
@@ -780,7 +780,7 @@ async function proxy_url(url) {
|
|
|
780
780
|
method: "HEAD",
|
|
781
781
|
parents,
|
|
782
782
|
headers: {
|
|
783
|
-
Accept: '
|
|
783
|
+
Accept: 'text/plain',
|
|
784
784
|
...(x => x && {Cookie: x})(config.cookies?.[new URL(url).hostname]),
|
|
785
785
|
},
|
|
786
786
|
retry: true
|