couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: Bug parsing Accept header?
Date Fri, 17 Jun 2011 14:55:04 GMT
On Fri, Jun 17, 2011 at 4:23 PM, Marcello Nuccio
<marcello.nuccio@gmail.com> wrote:
> Hi Robert, thanks for your help.
>
> The problem I have is: host a couchapp in a password protected DB.
> This is why I need authentication_redirect.
>
> If I understand it correctly, the logic is:
>
>  - if the client accepts "text/html", then respond with "302";
>  - if not, then respond with "401".
>
> What is the difference between
>    Accept: text/html,*/*;q=0.0
> and
>    Accept: text/html,*/*;q=0.1
> ?
>
> I think they should be treated the same way in this use-case.
> What am I missing?
>
> thanks,
>  Marcello
>
Not sure if the ml is the right way to discuss this
issue/improvement.Maybe we can start to collect all of this somewhere
?

https://issues.apache.org/jira/browse/COUCHDB-1175 is a good candidate.

- benoît

Mime
View raw message