trungn1992 / httplib2

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

Patch to controll "follow_all_redirects" #111

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. It is not possible to access the "follow_all_redirects" variable from 
outside the lib 

What version of the product are you using? On what operating system?
0.6.0 / Linux

Please provide any additional information below.
Attached is a Patch that allows to set the "follow_all_redirects"

Original issue reported on code.google.com by commitc...@googlemail.com on 1 Sep 2010 at 7:44

Attachments:

GoogleCodeExporter commented 8 years ago
You can always access member variables:

h = httplib2.Http()
h.follow_all_redirects = True

Original comment by joe.gregorio@gmail.com on 14 Feb 2011 at 1:44