summaryrefslogtreecommitdiff
path: root/suds/transport/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'suds/transport/http.py')
-rw-r--r--suds/transport/http.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/suds/transport/http.py b/suds/transport/http.py
index b2650ba..cf00615 100644
--- a/suds/transport/http.py
+++ b/suds/transport/http.py
@@ -46,9 +46,6 @@ class HttpTransport(Transport):
- B{timeout} - Set the url open timeout (seconds).
- type: I{float}
- default: 90
- - B{cache} - The http I{transport} cache. May be set (None) for no caching.
- - type: L{Cache}
- - default: L{NoCache}
"""
Transport.__init__(self)
Unskin(self.options).update(kwargs)
@@ -58,16 +55,10 @@ class HttpTransport(Transport):
def open(self, request):
try:
url = request.url
- cache = self.options.cache
- fp = cache.get(url)
- if fp is not None:
- log.debug('opening (%s), cached', url)
- return fp
log.debug('opening (%s)', url)
u2request = u2.Request(url)
self.setproxy(url, u2request)
- fp = self.u2open(u2request)
- return cache.put(url, fp)
+ return self.u2open(u2request)
except u2.HTTPError, e:
raise TransportError(str(e), e.code, e.fp)