You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Matthew Buckett <ma...@it.ox.ac.uk> on 2016/03/10 12:58:41 UTC

Public endpoint when couch_httpd_auth.require_valid_user=true

Are there any URLs that requested when
couch_httpd_auth.require_valid_user=true that don't generate an HTTP
401 error?

I'm looking to just check that CouchDB is available and responding.

-- 
  Matthew Buckett, VLE Developer, IT Services, University of Oxford

Re: Public endpoint when couch_httpd_auth.require_valid_user=true

Posted by Joan Touzet <wo...@apache.org>.
In CouchDB 2.0 there should be /_up . I'd consider it a bug if that
endpoint required a valid user.

/_up returns {"status":"ok"} if everything is copacetic.

-Joan

----- Original Message -----
> From: "Alexander Shorin" <kx...@gmail.com>
> To: user@couchdb.apache.org
> Sent: Thursday, March 10, 2016 1:26:40 PM
> Subject: Re: Public endpoint when couch_httpd_auth.require_valid_user=true
> 
> IIRC, no, that's the point of this option. If it responding with 401
> then it's actually available and responding (:
> --
> ,,,^..^,,,
> 
> 
> On Thu, Mar 10, 2016 at 2:58 PM, Matthew Buckett
> <ma...@it.ox.ac.uk> wrote:
> > Are there any URLs that requested when
> > couch_httpd_auth.require_valid_user=true that don't generate an
> > HTTP
> > 401 error?
> >
> > I'm looking to just check that CouchDB is available and responding.
> >
> > --
> >   Matthew Buckett, VLE Developer, IT Services, University of Oxford
> 

Re: Public endpoint when couch_httpd_auth.require_valid_user=true

Posted by Alexander Shorin <kx...@gmail.com>.
IIRC, no, that's the point of this option. If it responding with 401
then it's actually available and responding (:
--
,,,^..^,,,


On Thu, Mar 10, 2016 at 2:58 PM, Matthew Buckett
<ma...@it.ox.ac.uk> wrote:
> Are there any URLs that requested when
> couch_httpd_auth.require_valid_user=true that don't generate an HTTP
> 401 error?
>
> I'm looking to just check that CouchDB is available and responding.
>
> --
>   Matthew Buckett, VLE Developer, IT Services, University of Oxford