Skip to content

Allow the authorization header name to vary #8

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

Merged
merged 3 commits into from
Jul 1, 2018
Merged

Allow the authorization header name to vary #8

merged 3 commits into from
Jul 1, 2018

Conversation

matthewberryman
Copy link
Contributor

AWS AppSync uses x-api-key instead of Authorization, so I have a need to vary this. I've left it in such a way that 'Authorization' is the default if not specified, to keep this change backwards compatible.

@raduflp
Copy link

raduflp commented Jun 28, 2018

I was having the same issue. Would love to see this merged.

@ssshah86 ssshah86 merged commit aaa67f3 into prisma-labs:master Jul 1, 2018
@ssshah86
Copy link
Collaborator

ssshah86 commented Jul 1, 2018

Thanks for your contribution! Will upload to pypi shortly.

@matthewberryman
Copy link
Contributor Author

No worries. Thanks for a clean and easy to use library.

alaptseu pushed a commit to alaptseu/python-graphql-client that referenced this pull request Jul 18, 2018
Allow the authorization header name to vary
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.

3 participants