couchbase/couchbase-python-client — pull request #6 by natalinobusa (2012-06-01 16:43:00+00:00)
Title: Please verify multi-level key support in the python interface

...paces after each level.

This solves the bug of not being able to retrieve multi-valued keys as in the snippet below.
bucket.view('_design/packets/_view/all', key=[u'05B3DCE1C2E21400', 0, 65537, 8916], limit=10)

By applying this change the produced string for the rest interface is:
'["05B3DCE1C2E21400",0,65537,8916]' instead of the incorrect '["05B3DCE1C2E21400", 0, 65537, 8916]'

In fact, I don't see the reason why the latter should be giving troubles.
It all points to a possibly incorrect url-encoding of the produced string.

Anyways, removing the spaces solves the problem