Commits

Evgeniy Tatarkin committed 1e4abcf

http request/response are subclasses of base reques/response

Comments (0)

Files changed (1)

pomp/core/base.py

         return exception
 
 
-class BaseHttpRequest(object):
+class BaseRequest(object):
     """Request interface"""
+    pass
+
+
+class BaseResponse(object):
+    """Response interface"""
+    pass
+
+
+class BaseHttpRequest(BaseRequest):
+    """HTTP request interface"""
 
     @property
     def url(self):
         raise NotImplementedError()
 
 
-class BaseHttpResponse(object):
-    """Response interface"""
+class BaseHttpResponse(BaseResponse):
+    """HTTP response interface"""
 
     @property
     def request(self):