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

Method _get_content_length

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

Source from the content-addressed store, hash-verified

1237 self._debuglevel = level
1238
1239 def _get_content_length(self, request):
1240 return http.client.HTTPConnection._get_content_length(
1241 request.data,
1242 request.get_method())
1243
1244 def do_request_(self, request):
1245 host = request.host

Callers 1

do_request_Method · 0.95

Calls 1

get_methodMethod · 0.45

Tested by

no test coverage detected