MCPcopy Index your code
hub / github.com/RustPython/RustPython / header_fetch_parse

Method header_fetch_parse

Lib/email/_policybase.py:319–324  ·  view source on GitHub ↗

+ If the value contains binary data, it is converted into a Header object using the unknown-8bit charset. Otherwise it is returned unmodified.

(self, name, value)

Source from the content-addressed store, hash-verified

317 return (name, value)
318
319 def header_fetch_parse(self, name, value):
320 """+
321 If the value contains binary data, it is converted into a Header object
322 using the unknown-8bit charset. Otherwise it is returned unmodified.
323 """
324 return self._sanitize_header(name, value)
325
326 def fold(self, name, value):
327 """+

Callers

nothing calls this directly

Calls 1

_sanitize_headerMethod · 0.95

Tested by

no test coverage detected