Reviewers: mp+170976_code.launchpad.net, Message: Please take a look. Description: http/client: Set Content-Length The net/http.Request object takes a Reader so you have to set ContentLength as an attribute or it will not set in in the POST request. Fixes bug #1124561. Oddly enough, we always buffer everything anyway, (probably to handle retries?). I would have thought for at least BinaryRequest we would have not touched the io.Reader that we got. https://code.launchpad.net/~jameinel/goose/transfer-content-length-1124561/+merge/170976 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/10465043/ Affected files: A [revision details] M http/client.go M http/client_test.go Index: [revision details] === added file '[revision details]' --- [revision details] 2012-01-01 00:00:00 +0000 +++ [revision details] 2012-01-01 00:00:00 +0000 @@ -0,0 +1,2 @@ +Old revision: