MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_headers_and_fp

Method get_headers_and_fp

Lib/test/test_httplib.py:2199–2203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2197 self.conn.sock = self.sock
2198
2199 def get_headers_and_fp(self):
2200 f = io.BytesIO(self.sock.data)
2201 f.readline() # read the request line
2202 message = client.parse_headers(f)
2203 return message, f
2204
2205 def test_list_body(self):
2206 # Note that no content-length is automatically calculated for

Callers 7

test_list_bodyMethod · 0.95
test_ascii_bodyMethod · 0.95
test_latin1_bodyMethod · 0.95
test_bytes_bodyMethod · 0.95
test_text_file_bodyMethod · 0.95
test_binary_file_bodyMethod · 0.95

Calls 1

readlineMethod · 0.45

Tested by

no test coverage detected