meebo/python-lounge — pull request #5 by markdoliner (2012-04-13 19:26:11+00:00)
Title: Fix database creates requests to loung

My previous change broke database create requests when hitting lounge :-(
(they work fine when hitting couchdb directly).

Database create requests to couchdb were working fine, but lounge
apparently requires a content-length header even for empty PUT
requests, so database create requests were failing with a 411 error.
The HTTP spec seems to be a little unclear on whether a content-length
header is required here... but it seems safer and more correct to
include it.