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

No Authorization header if username is null #48

merged 1 commit into from Jul 21, 2013


None yet
2 participants

NorthNick commented Jul 20, 2013

CouchDb behaviour seems have changed at 1.3.1, and Basic Auth requests with empty username and password are now denied when requesting database information e.g. http://host:port/database/. This change removes the Authorization header if the username is null, preventing this error.

An alternative to this approach would be to create a new AuthenticationType.None enum element, but I'm afraid I went for the quicker change.

soitgoes added a commit that referenced this pull request Jul 21, 2013

Merge pull request #48 from NorthNick/master
No Authorization header if username is null

@soitgoes soitgoes merged commit 5dbed2c into soitgoes:master Jul 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment