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

Method getcode

Lib/http/client.py:821–826  ·  view source on GitHub ↗

Return the HTTP status code that was sent with the response, or None if the URL is not an HTTP URL.

(self)

Source from the content-addressed store, hash-verified

819 return self.url
820
821 def getcode(self):
822 '''Return the HTTP status code that was sent with the response,
823 or None if the URL is not an HTTP URL.
824
825 '''
826 return self.status
827
828
829def _create_https_context(http_version):

Callers 4

test_getcodeMethod · 0.45
check_readMethod · 0.45
test_addinfourlMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_getcodeMethod · 0.36
check_readMethod · 0.36
test_addinfourlMethod · 0.36