Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ output
Method
output
Lib/http/cookies.py:372–373 ·
view source on GitHub ↗
(self, attrs=None, header="Set-Cookie:")
Source
from the content-addressed store, hash-verified
370
self._coded_value = state[
'coded_value'
]
371
372
def
output(self, attrs=None, header=
"Set-Cookie:"
):
373
return
"%s %s"
% (header, self.OutputString(attrs))
374
375
__str__ = output
376
Callers
14
test_setter
Method · 0.95
output
Method · 0.45
test_basic
Method · 0.45
test_load
Method · 0.45
test_extended_encode
Method · 0.45
test_special_attrs
Method · 0.45
test_set_secure_httponly_attrs
Method · 0.45
test_set_secure_httponly_partitioned_attrs
Method · 0.45
test_samesite_attrs
Method · 0.45
test_extra_spaces
Method · 0.45
test_quoted_meta
Method · 0.45
test_invalid_cookies
Method · 0.45
Calls
1
OutputString
Method · 0.95
Tested by
13
test_setter
Method · 0.76
test_basic
Method · 0.36
test_load
Method · 0.36
test_extended_encode
Method · 0.36
test_special_attrs
Method · 0.36
test_set_secure_httponly_attrs
Method · 0.36
test_set_secure_httponly_partitioned_attrs
Method · 0.36
test_samesite_attrs
Method · 0.36
test_extra_spaces
Method · 0.36
test_quoted_meta
Method · 0.36
test_invalid_cookies
Method · 0.36
test_pickle
Method · 0.36