diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-11 23:41:40 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-11 23:41:40 +0100 |
commit | b692dc0ba8e8940844eb647a1f15e435a55ce4eb (patch) | |
tree | 1653344e5b37504894fe2c2e226f9d8d094bd3bb /module/network/Browser.py | |
parent | fixed DepositFile free (diff) | |
download | pyload-b692dc0ba8e8940844eb647a1f15e435a55ce4eb.tar.xz |
Diffstat (limited to 'module/network/Browser.py')
-rw-r--r-- | module/network/Browser.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py index 6cc907491..adb2cb5d9 100644 --- a/module/network/Browser.py +++ b/module/network/Browser.py @@ -95,6 +95,14 @@ class Browser(object): """ retrieves page """ return self.http.load(url, get, post, ref, cookies, just_header) + + def putHeader(self, name, value): + """ add a header to the request """ + self.http.putHeader(name, value) + + def clearHeaders(self): + self.http.clearHeaders() + def close(self): """ cleanup """ if hasattr(self, "http"): |