aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-08-06 15:04:59 +0300
committerFilipp Lepalaan <f@230.to>2013-08-06 15:04:59 +0300
commit388a47255e334b083be7058ab16e7fb0084240de (patch)
treecc831e2856048910567775d27cfb73461d2bcfc3
parent4ec9b26232a1df546e36b9657c043818e329fc17 (diff)
downloadpy-gsxws-388a47255e334b083be7058ab16e7fb0084240de.tar.gz
py-gsxws-388a47255e334b083be7058ab16e7fb0084240de.tar.bz2
py-gsxws-388a47255e334b083be7058ab16e7fb0084240de.zip
Bump HTTP timeout to 20 sec
-rw-r--r--gsxws/core.py2
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"')