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

Method header_items

Lib/urllib/request.py:390–392  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

388 self.unredirected_hdrs.pop(header_name, None)
389
390 def header_items(self):
391 hdrs = {**self.unredirected_hdrs, **self.headers}
392 return list(hdrs.items())
393
394class OpenerDirector:
395 def __init__(self):

Callers 2

test_custom_headersMethod · 0.95

Calls 2

listClass · 0.85
itemsMethod · 0.45

Tested by 2

test_custom_headersMethod · 0.76