couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Klampaeckel (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1213) proxy with external api doesn't work
Date Mon, 04 Jul 2011 00:15:21 GMT
proxy with external api doesn't work

                 Key: COUCHDB-1213
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Till Klampaeckel

As discussed on IRC, I'm trying to use an external web API, but every request to the handler
produces an infinite loop.

This is most likely due to not passing on the correct Host header.

Here's an example:

_google = {couch_httpd_proxy, handle_proxy_req, <<"">>}

Then request with:

curl -L -X GET

Paul Davis did a quick patch:

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message