aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http_semantics.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/http_semantics.py')
-rw-r--r--netlib/http_semantics.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/netlib/http_semantics.py b/netlib/http_semantics.py
deleted file mode 100644
index e8313e3c..00000000
--- a/netlib/http_semantics.py
+++ /dev/null
@@ -1,23 +0,0 @@
-class Response(object):
-
- def __init__(
- self,
- httpversion,
- status_code,
- msg,
- headers,
- content,
- sslinfo=None,
- ):
- self.httpversion = httpversion
- self.status_code = status_code
- self.msg = msg
- self.headers = headers
- self.content = content
- self.sslinfo = sslinfo
-
- def __eq__(self, other):
- return self.__dict__ == other.__dict__
-
- def __repr__(self):
- return "Response(%s - %s)" % (self.status_code, self.msg)