couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: [jira] [Commented] (COUCHDB-1175) Improve content type negotiation for couchdb JSON responses
Date Sat, 18 Jun 2011 08:54:55 GMT
On Sat, Jun 18, 2011 at 10:52 AM, Marcello Nuccio (JIRA)
<jira@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/COUCHDB-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051477#comment-13051477
]
>
> Marcello Nuccio commented on COUCHDB-1175:
> ------------------------------------------
>
> https://github.com/couchapp/couchdb-login-jquery does not work with password protected
DBs, because the browser cannot download the couchapp.
>
> How can I get any Javascript run on the browser if I cannot get it first?
>
> authentication_redirect solves this specific use-case.
>
>> Improve content type negotiation for couchdb JSON responses

Again you don't need the redirect. Change the header in settings,
catch the error, pass the the base64 encoded username password to auth
header and you're done.

- benoit

Mime
View raw message