Arve Knudsen <arve.knud...@gmail.com> added the comment: Actually, when inspecting the HTTP requests sent by Chrome for the different methods (a great little Chrome app called Postman let me fire requests manually), I found that content-length would be set for most methods. I could confirm that 'content-length: 0' would be set for the following methods: POST, PUT, PATCH, DELETE and HEAD.
I guess it should be good enough to model that behaviour in httplib? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14721> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com