Skip to content

HTTP Client method for specifying whole authorization data #4404

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mortee
Copy link

@mortee mortee commented Feb 21, 2018

If already there is a separate method for specifying the base64-encoded data for basic auth, then it would be nice to allow for specifying the whole auth header. Right now, I'm using this to send request to pushetta.com's API, which needs a different kind of auth data (Token {your-auth-token}). Sure, I could simply set the header itself instead - but then again, that could be done for basic auth with pre-encoded data, too.

@earlephilhower earlephilhower added the merge-conflict PR has a merge conflict that needs manual correction label Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-conflict PR has a merge conflict that needs manual correction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants