Lines Matching refs:header_bytes
291 header_bytes = _encode(string, codec)
293 encoder_module = self._get_encoder(header_bytes)
296 return encoder_module.header_encode(header_bytes, codec)
317 header_bytes = _encode(string, codec)
318 encoder_module = self._get_encoder(header_bytes)
351 header_bytes = _encode(joined_line, codec)
352 lines.append(encoder(header_bytes))
356 header_bytes = _encode(joined_line, codec)
357 lines.append(encoder(header_bytes))
360 def _get_encoder(self, header_bytes): argument
366 len64 = email.base64mime.header_length(header_bytes)
367 lenqp = email.quoprimime.header_length(header_bytes)