On Sat, Jun 18, 2011 at 10:52 AM, Marcello Nuccio (JIRA)
<j...@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

Reply via email to