diff options
author | 2014-04-21 19:26:53 +0200 | |
---|---|---|
committer | 2014-04-21 19:26:53 +0200 | |
commit | db52fa001a481ab97100172bb9905fc144c8752d (patch) | |
tree | a0f9be62360ff7693c6478015a15f85bc9eb2462 /pyload/plugins/Request.py | |
parent | Moving new plugins from module to pyload (diff) | |
download | pyload-db52fa001a481ab97100172bb9905fc144c8752d.tar.xz |
updated bottle, fixed a header and referer bug
Diffstat (limited to 'pyload/plugins/Request.py')
-rw-r--r-- | pyload/plugins/Request.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyload/plugins/Request.py b/pyload/plugins/Request.py index 651da09f9..f2813c7dd 100644 --- a/pyload/plugins/Request.py +++ b/pyload/plugins/Request.py @@ -2,6 +2,7 @@ from logging import getLogger +from pyload.network.HeaderDict import HeaderDict class ResponseException(Exception): def __init__(self, code, content=""): @@ -31,6 +32,8 @@ class Request(object): # Store options in dict self.options = {} if options is None else options + self.headers = HeaderDict() + # Last response code self.code = 0 self.flags = 0 |