Skip to content

Commit a7259b8

Browse files
committed
SDK-1299: Remove MediaResponse as it's no longer needed
1 parent 6c39f5b commit a7259b8

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

yoti_python_sdk/http.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,6 @@ def __init__(self, status_code, text, headers=None, content=None):
3434
self.headers = headers
3535

3636

37-
class MediaResponse(object):
38-
def __init__(self, response):
39-
self.response = response
40-
41-
@property
42-
def status_code(self):
43-
return self.response.status_code
44-
45-
@property
46-
def content(self):
47-
return self.response.content
48-
49-
@property
50-
def text(self):
51-
return self.response.text
52-
53-
@property
54-
def headers(self):
55-
return self.response.headers
56-
57-
5837
class RequestHandler(object):
5938
"""
6039
Default request handler for signing requests using the requests library.

0 commit comments

Comments
 (0)