Hi CouchDB folks,

In the API Reference section on Authentication, under "GET /_session,"
<http://docs.couchdb.org/en/2.1.1/api/server/authn.html#get--_session> it
lists the allowed query parameters as:

"*basic* (*boolean*) - Accept *Basic Auth* by requesting this resource. ..."

What does this mean? I'm trying to parse that sentence and can't figure it
out.

Does it mean if you don't have a valid authentication cookie, and you
provide "basic=true" as a query param, then you can also pass an
Authorization header to successfully retrieve the resource? And if
"basic=false" or not provided, then you'll always get a 401 regardless of
whether you pass an Authorization header?

Also, what is the default value of this parameter? Is it "true" or "false?"

As you can no doubt see, I'm confused! Apologies if I'm missing something
obvious.

Thanks for all that you do,

Moses

Reply via email to