You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/08/01 14:56:15 UTC

[GitHub] hytano opened a new issue #1483: WWW-Authenticate header missing in "401 Unauthorized" response

hytano opened a new issue #1483: WWW-Authenticate header missing in "401 Unauthorized" response
URL: https://github.com/apache/couchdb/issues/1483
 
 
   Hello,
   I just installed a fresh CouchDB 2.1.2 on a Windows 7 machine. 
   Single Node Setup, created admin user with password as described in the docs "First Time Setup".
   There is no other CouchDB installation or old configuration file on the machine.
   
   When trying to create a new database with a 
   PUT http://127.0.0.1:5984/new_db
   
   I get a 401 Unauthorized response as I expected. But the WWW-Authenticate header field is missing in the response.
   
   If I get right a 401 response always has to include the WWW-Authenticate header field.
   
   The missing field is not a huge problem but the HTTP Client I am working with (Procoproject Poco::HTTPClientSession / HTTPCredentials) relies on that field.
   
   Is there any reason not to set WWW-Authenticate header?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services