Hi all,
I'm on version 1.0.2 and attempting to use the new HTTP proxy handler in
the externals API using the example linked to from the CouchDB wiki:
https://github.com/apache/couchdb/commit/11469d902b15145d361f9f7ec66a09ac3d04757c
I have this in my local.ini configuration:
[httpd_global_handlers]
_google = {couch_httpd_proxy, handle_proxy_req, <<"http://www.google.com">>}
I'm trying to reach this with curl:
curl http://127.0.0.1:5984/_google/search?q=plankton
Doing so returns '{"error":"unknown_error","reason":"undef"}'. See the
full log here: https://gist.github.com/851996
Is there extra configuration I need to add to my local.ini? What am I
missing?
Cheers,
Lou