BrowserFS icon indicating copy to clipboard operation
BrowserFS copied to clipboard

Support `fetch` options

Open halmos opened this issue 5 years ago • 2 comments
trafficstars

It would be very useful to have the ability to set the options used by the fetch call in the fetchFileAsync function. In particular, this would allow the HTTPrequest backend to access resources that require the authentication header to be set, such as with AWS S3.

I can investigate a PR for this, but do you have thoughts on the best approach to the API. I'm not certain where these options should be exposed in the Configure object. My initial idea would be to add a property to the HTTPRequest options that would be passed down to the fetch request.

halmos avatar Apr 03 '20 20:04 halmos

+1 for this. Is there any plan/update on this?

bryanchen-d avatar Feb 04 '22 17:02 bryanchen-d

Please use https://github.com/browser-fs/core/issues/18

james-pre avatar Oct 25 '23 00:10 james-pre