Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix info calls

  • Loading branch information...
commit 54a87d64358212a9099004e1812346bad9bfd757 1 parent 6b106ac
@rnewson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  couchdb-external-hook.py
View
2  couchdb-external-hook.py
@@ -74,7 +74,7 @@ def respond(res, req, host, port):
path[index] = urllib.quote(path[index], "")
if req["query"] == {}:
- path = '/'.join(['', 'info', host, str(port)], path)
+ path = '/'.join(['', 'info', host, str(port)] + path)
else:
path = '/'.join(['', 'search', host, str(port)] + path)
path = '?'.join([path, urllib.urlencode(req["query"])])
Please sign in to comment.
Something went wrong with that request. Please try again.