MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / output

Method output

tools/python-3.11.9-amd64/Lib/http/cookies.py:500–506  ·  view source on GitHub ↗

Return a string suitable for HTTP.

(self, attrs=None, header="Set-Cookie:", sep="\015\012")

Source from the content-addressed store, hash-verified

498 self.__set(key, rval, cval)
499
500 def output(self, attrs=None, header="Set-Cookie:", sep="\015\012"):
501 """Return a string suitable for HTTP."""
502 result = []
503 items = sorted(self.items())
504 for key, value in items:
505 result.append(value.output(attrs, header))
506 return sep.join(result)
507
508 __str__ = output
509

Callers

nothing calls this directly

Calls 5

sortedFunction · 0.85
itemsMethod · 0.45
appendMethod · 0.45
outputMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected