MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / FakeSocket

Class FakeSocket

lib/utils/har.py:208–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208class FakeSocket(object):
209 # Original source:
210 # https://stackoverflow.com/questions/24728088/python-parse-http-response-string
211
212 def __init__(self, response_text):
213 self._file = io.BytesIO(response_text)
214
215 def makefile(self, *args, **kwargs):
216 return self._file
217
218class HTTPRequest(_BaseHTTPServer.BaseHTTPRequestHandler):
219 # Original source:

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…