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

BasicAuth renders wrong header name #116

Closed
pandemonium opened this issue Sep 6, 2018 · 1 comment
Closed

BasicAuth renders wrong header name #116

pandemonium opened this issue Sep 6, 2018 · 1 comment
Assignees

Comments

@pandemonium
Copy link
Contributor

Dear Hammock-crew,

Auth.BasicAuth("user", "password") produces the correct rendition of "Basic <Base64 "$user:$pass">"

But it renders the wrong header name->value-pair. It produces:

Authentication: Basic <...>

It should produce:

Authorization: Basic <...>

I have verified this using my own tests.

@pepegar
Copy link
Owner

pepegar commented Sep 6, 2018

Thanks @pandemonium,

Fixed in #118

@pepegar pepegar closed this as completed Sep 6, 2018
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

No branches or pull requests

2 participants