Created
December 21, 2010 20:13
-
-
Save dwins/750503 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/geoserver/catalog.py b/src/geoserver/catalog.py | |
index 8f5331e..4f0a2e5 100644 | |
--- a/src/geoserver/catalog.py | |
+++ b/src/geoserver/catalog.py | |
@@ -56,6 +56,12 @@ class Catalog(object): | |
None, | |
self.http | |
)) | |
+ orig_req = self.http.request | |
+ def wrapped_request(*args, **kwargs): | |
+ print 'REQUEST', args, kwargs, 'END REQUEST' | |
+ return orig_req(*args, **kwargs) | |
+ self.http.request = wrapped_request | |
+ | |
self._cache = dict() | |
def add(self, object): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment