braidfs 0.0.78 → 0.0.79

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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. 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": 'text/plain',
492
+ "Content-Type": '*/*',
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: 'text/plain',
676
+ Accept: '*/*',
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: 'text/plain',
735
+ Accept: '*/*',
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: 'text/plain',
783
+ Accept: '*/*',
784
784
  ...(x => x && {Cookie: x})(config.cookies?.[new URL(url).hostname]),
785
785
  },
786
786
  retry: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braidfs",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "description": "braid technology synchronizing files and webpages",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braidfs",