Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/encode/httpx
/ copy
Method
copy
httpx/_models.py:281–282 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
279
self._list.extend(headers._list)
280
281
def
copy(self) -> Headers:
282
return
Headers(self, encoding=self.encoding)
283
284
def
__getitem__(self, key: str) -> str:
285
""
"
Callers
2
test_copy_headers_method
Function · 0.95
clean_environ
Function · 0.80
Calls
1
Headers
Class · 0.85
Tested by
2
test_copy_headers_method
Function · 0.76
clean_environ
Function · 0.64