summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPRequest.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-08 17:27:57 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-08 17:27:57 +0200
commitde07cd54a708f4287654f593ded35bcff368f9d0 (patch)
tree4ae792b273481240befeb77a49fe51f345a9d1c4 /module/network/HTTPRequest.py
parentswedish translation (diff)
downloadpyload-de07cd54a708f4287654f593ded35bcff368f9d0.tar.xz
only one chunk for uploaded.to
Diffstat (limited to 'module/network/HTTPRequest.py')
-rw-r--r--module/network/HTTPRequest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py
index fb89334c6..a966414ee 100644
--- a/module/network/HTTPRequest.py
+++ b/module/network/HTTPRequest.py
@@ -204,6 +204,7 @@ class HTTPRequest():
def getResponse(self):
""" retrieve response from string io """
+ if not self.rep: return None
value = self.rep.getvalue()
self.rep.close()
self.rep = StringIO()