projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd8ce63
)
cleanup mess
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 15 May 2011 03:03:31 +0000
(23:03 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 15 May 2011 03:03:31 +0000
(23:03 -0400)
requests/monkeys.py
patch
|
blob
|
history
diff --git
a/requests/monkeys.py
b/requests/monkeys.py
index 83353c18320cc744ad91002ba4f86119e3b4702d..b8fe5041d7b95afb7c1b1cf211b49f98681ecf04 100644
(file)
--- a/
requests/monkeys.py
+++ b/
requests/monkeys.py
@@
-30,10
+30,7
@@
class Request(urllib2.Request):
class HTTPRedirectHandler(urllib2.HTTPRedirectHandler):
def http_error_301(self, req, fp, code, msg, headers):
- # print "Cookie Manip Right Here"
- # print 'HEY'
pass
- # return urllib2.HTTPRedirectHandler.http_error_302(self, req, fp, code, msg, headers)
http_error_302 = http_error_303 = http_error_307 = http_error_301