lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

new list() function is not encoding my startkey/endkey parameters properly #176

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
db.list('test/price','all',startkey='2',endkey='3')
produces this:

GET 
http://localhost:5984/test_list/_design/test/_list/price/all?startkey=2&endkey=3

which does not work...I think maybe it should be:

GET 
http://localhost:5984/test_list/_design/test/_list/price/all?startkey=%222%22&en
dkey=%223%22

...which does work ( tested with curl )

Original issue reported on code.google.com by nickperk...@gmail.com on 2 Apr 2011 at 2:50

GoogleCodeExporter commented 8 years ago
Thanks for testing and submitting a bug report! I just pushed a change so that 
list function options are encoded as for view functions.

Original comment by matt.goo...@gmail.com on 2 Apr 2011 at 4:45