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

Method http_request

Lib/urllib/request.py:1385–1387  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

1383 self.cookiejar = cookiejar
1384
1385 def http_request(self, request):
1386 self.cookiejar.add_cookie_header(request)
1387 return request
1388
1389 def http_response(self, request, response):
1390 self.cookiejar.extract_cookies(response, request)

Callers 1

test_cookiesMethod · 0.95

Calls 1

add_cookie_headerMethod · 0.45

Tested by 1

test_cookiesMethod · 0.76