Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix headers and abort signals #41

Merged
merged 4 commits into from
May 5, 2020
Merged

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented May 2, 2020

Adds tests for the same.

Depends on:

achingbrain added a commit to ipfs/js-ipfs that referenced this pull request May 2, 2020
Somewhere along the line we stopped passing headers to the underlying
request library which means people can't use http auth etc to try to
secure their API servers.

Fixes #3017

Depends on:

- [ ] ipfs/js-ipfs-utils#41
src/http.js Outdated Show resolved Hide resolved
src/http.js Show resolved Hide resolved
@hugomrdias
Copy link
Member

can you update aegir dep to merge this ?

@achingbrain
Copy link
Member Author

I think aegir still needs a release with ipfs/aegir#553 in it.

@hugomrdias hugomrdias changed the title fix: make sure we honour headers passed as api and constructor args fix: fix headers and abort signals May 5, 2020
@hugomrdias hugomrdias merged commit ad977a9 into master May 5, 2020
@hugomrdias hugomrdias deleted the fix/respect-headers branch May 5, 2020 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants