yaocaigen / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

Adding max_size to Http objects #129

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
See 
http://code.google.com/r/mikitebeka-httplib2/source/detail?r=ea6877236890d4b6538
22e675b1e08a0bcdaef41 (didn't figure out how to request a pull).

Original issue reported on code.google.com by miki.teb...@gmail.com on 31 Jan 2011 at 11:42

GoogleCodeExporter commented 9 years ago
If instead of doing max_size=0, you did max_size=None, then you
simply call "content = response.read(self.max_size)" without the if statement.

Original comment by joe.gregorio@gmail.com on 11 Feb 2011 at 4:57

GoogleCodeExporter commented 9 years ago
Thanks. Do you want me to change the code or will you do it when merging?

Original comment by miki.teb...@gmail.com on 12 Feb 2011 at 4:40

GoogleCodeExporter commented 9 years ago
Please update it in your repository. Thanks, -joe

Original comment by joe.gregorio@gmail.com on 12 Feb 2011 at 5:15

GoogleCodeExporter commented 9 years ago
Done. See 
http://code.google.com/r/mikitebeka-httplib2/source/detail?r=ecd0c5c12c83a32bc9d
89399482cd0a4ec58a93d

Original comment by miki.teb...@gmail.com on 14 Feb 2011 at 5:34

GoogleCodeExporter commented 9 years ago
Are there plans to merge this change in the near future?

Original comment by ra...@imo.im on 9 Mar 2013 at 1:20