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

Method send_headers

Lib/xmlrpc/client.py:1275–1277  ·  view source on GitHub ↗
(self, connection, headers)

Source from the content-addressed store, hash-verified

1273 # @param headers list of key,value pairs for HTTP headers
1274
1275 def send_headers(self, connection, headers):
1276 for key, val in headers:
1277 connection.putheader(key, val)
1278
1279 ##
1280 # Send request body.

Callers 1

send_requestMethod · 0.95

Calls 1

putheaderMethod · 0.80

Tested by

no test coverage detected