rnewson commented on issue #741: error "Unauthorized" (401) when loading 
"_security"-doc
URL: https://github.com/apache/couchdb/issues/741#issuecomment-321634560
 
 
   well, this is fun. I think what you've done is written that error into the 
security object;
   
   curl foo:bar@localhost:15984/db1/_security -XPUT -d ' 
{"error":"unauthorized","reason":"Authentication 
required.","members":{"names":["admin","newuser"]}} '
   {"ok":true}
   
    curl foo:bar@localhost:15984/db1/_security -s
   {"error":"unauthorized","reason":"Authentication 
required.","members":{"names":["admin","newuser"]}}
   
   can you do curl with the -v so we can see if you're getting, as I suspect, a 
200 respose, not a 401.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to