GitHub user olafura opened a pull request:

    https://github.com/apache/couchdb/pull/283

    Backport Accept check from chttpd

    Backport "Accept check" from chttpd to correctly handle when browser
    try to access a database when they aren't logged in or need to change their 
login
    
    This fixes so many bugs that have been littering the bug system for years.
    
    The problem was that browsers over promise and we were using that to check
    if it was json or html. I have another patch that is only 4 lines added and 
two
    changed but since it was changed in chttpd I thought merging that was the 
best
    thing.
    
    Also if this patch doesn't get accepted I have an other solution in a form 
of allowing
    rewrite to change headers.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/olafura/couchdb 1.6.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb/pull/283.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #283
    
----
commit 91e730bf84e77ce38368af57284b1b19413871fb
Author: Olafur Arason <olaf...@olafura.com>
Date:   2014-11-16T20:03:20Z

    Backport Accept check from chttpd to correctly handle when browser
    try to access a database when they aren't logged in or need to change
    their login

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to