diff options
author | Filipp Lepalaan <f@230.to> | 2013-08-06 15:04:59 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-08-06 15:04:59 +0300 |
commit | 388a47255e334b083be7058ab16e7fb0084240de (patch) | |
tree | cc831e2856048910567775d27cfb73461d2bcfc3 /gsxws | |
parent | 4ec9b26232a1df546e36b9657c043818e329fc17 (diff) | |
download | py-gsxws-388a47255e334b083be7058ab16e7fb0084240de.tar.gz py-gsxws-388a47255e334b083be7058ab16e7fb0084240de.tar.bz2 py-gsxws-388a47255e334b083be7058ab16e7fb0084240de.zip |
Bump HTTP timeout to 20 sec
Diffstat (limited to 'gsxws')
-rw-r--r-- | gsxws/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/core.py b/gsxws/core.py index f2d5324..e4ae561 100644 --- a/gsxws/core.py +++ b/gsxws/core.py @@ -223,7 +223,7 @@ class GsxRequest(object): logging.debug(self._url) logging.debug(xmldata) - ws = httplib.HTTPSConnection(parsed.netloc, timeout=10) + ws = httplib.HTTPSConnection(parsed.netloc, timeout=20) ws.putrequest("POST", parsed.path) ws.putheader("User-Agent", "py-gsxws 0.9") ws.putheader("Content-type", 'text/xml; charset="UTF-8"') |