This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
urlSource.options is ignored #2807
Labels
kind/bug
A bug in existing code (including security flaws)
kind/enhancement
A net-new feature or improvement to an existing feature
Comments
According to the API docs, Is there something specific you're trying to do? |
@achingbrain Yes. For example, if a url needs credentials to be downloaded, passing headers/cookies directly without having to make requests manually. |
Sounds fair enough - would you like to submit a PR with a test or two that fixes the bug? |
@achingbrain Sure! I'd love to do that, and I'll learn to write test for urlSource. |
This is blocked on #2810 |
The latest version of js-ipfs-utils now passes the options, this should no longer be an issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
kind/bug
A bug in existing code (including security flaws)
kind/enhancement
A net-new feature or improvement to an existing feature
https://github.com/ipfs/js-ipfs-utils/blob/e582304334584c2c076ee87a85063f6e0dd7c740/src/files/url-source.js#L9
Should this
options
to be passed toky.get(url, options)
?The text was updated successfully, but these errors were encountered: