From 388a47255e334b083be7058ab16e7fb0084240de Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 6 Aug 2013 15:04:59 +0300 Subject: Bump HTTP timeout to 20 sec --- gsxws/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gsxws') 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"') -- cgit v1.2.3