couchdb-python
couchdb-python copied to clipboard
Consecutives POST requests concatenates request bodies on App Engine
From [email protected] on May 23, 2013 22:20:56
What steps will reproduce the problem? 1. Google App Engine Env 2. list(..., keys = []) or view(... keys = []) (or anything producing a POST request)
App Engine do not clear its request._body variable after each requests so bodies are concatenated calls after calls
check out https://code.google.com/r/alexandre-couchdb-python-app-engine/source/detail?r=ad304b3b2494b66d26d4c2c30825753699b3c4b2
Original issue: http://code.google.com/p/couchdb-python/issues/detail?id=225
I encountered the same problem with PUT requests too. I made a fork where I included https://code.google.com/r/alexandre-couchdb-python-app-engine/source/detail?r=ad304b3b2494b66d26d4c2c30825753699b3c4b2 and also added 'PUT' requests to the fix. The fork: https://github.com/wizeline/couchdb-python
PS: please ignore the pull request I did in this project, it was a mistake.