MCPcopy Index your code
hub / github.com/python/cpython / get_headers_and_fp

Method get_headers_and_fp

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

Source from the content-addressed store, hash-verified

2241 self.conn.sock = self.sock
2242
2243 def get_headers_and_fp(self):
2244 f = io.BytesIO(self.sock.data)
2245 f.readline() # read the request line
2246 message = client.parse_headers(f)
2247 return message, f
2248
2249 def test_list_body(self):
2250 # 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