inorganik / digest-auth-request

Make digest-auth requests with vanilla javascript
MIT License
70 stars 49 forks source link

Sending `X-Digest` rather than `Digest` authentication header #3

Closed raboof closed 10 years ago

raboof commented 10 years ago

We're sending an X-Digest authentication header rather than a Digest one.

That looks intentional, but the server (at least in my case) really does expect a Digest. What is the rationale behind this choice? Perhaps this should be made configurable?

inorganik commented 10 years ago

For the setup I was making requests against, X-Digest was the expected header. If the server you were making requests to expects Digest, than yes, it should be configurable