Lines Matching defs:header
7 from email import header
204 Called when a header is added to a Message object. If the returned
211 in the number of instances of that header that may be added to a
216 The default implementation returns None for all header names.
223 a single header, return the (name, value) tuple that should be stored
232 """Given the header name and the value provided by the application
239 """Given the header name and the value from the model, return the value
241 header. The value passed in by the email package may contain
250 """Given the header name and the value from the model, return a string
251 containing linesep characters that implement the folding of the header
262 """Given the header name and the value from the model, return binary
264 header according to the policy controls. The value passed in by the
282 # If the header value contains surrogates, return a Header using
285 # Assume it is already a header object
288 return header.Header(value, charset=_charset.UNKNOWN8BIT,
334 header is used, with its existing line breaks and/or binary data.
346 h = header.Header(value,
359 h = header.Header(value, header_name=name)