diff options
Diffstat (limited to 'suds/transport/__init__.py')
-rw-r--r-- | suds/transport/__init__.py | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/suds/transport/__init__.py b/suds/transport/__init__.py index 9bf5674..e1e00d7 100644 --- a/suds/transport/__init__.py +++ b/suds/transport/__init__.py @@ -128,71 +128,3 @@ class Transport: @raise TransportError: On all transport errors. """ raise Exception('not-implemented') - - -class Cache: - """ - The URL caching object. - """ - - def put(self, url, fp): - """ - Put an item into the cache. - @param url: A url. - @type url: str - @param fp: A file stream. - @type fp: stream - @return: The stream. - @rtype: stream - """ - raise Exception('not-implemented') - - def get(self, url): - """ - Get an item from the cache by url. - @param url: A url. - @type url: str - @return: A stream when found, else None. - @rtype: stream - """ - raise Exception('not-implemented') - - def clear(self): - """ - Clear the cached items. - """ - raise Exception('not-implemented') - - -class NoCache(Cache): - """ - The NO caching implementation. - """ - - def put(self, url, fp): - """ - Put an item into the cache. - @param url: A url. - @type url: str - @param fp: A file stream. - @type fp: stream - @return: The stream. - @rtype: stream - """ - return fp - - def get(self, url): - """ - Get an item from the cache by url. - @param url: A url. - @type url: str - @return: A stream when found, else None. - @rtype: stream - """ - return None - - def clear(self): - """ - Clear the cached items. - """ - pass |