T

Results 42 comments of T

If I do: `m.get('http://test.com/somebigfile.tar.gz', body=fp)`, I get a 0 length file at the other end. If I do `m.get('http://test.com/somebigfile.tar.gz', content=fp.read())`, it seems to work. Seems that there may be a...

Interesting. You don't have to have a Content-Length header, though. At least as far as HTTP goes, I don't know if mocking requests changes something there.