code: def content_transfer_encoding(self) \
              -> Optional[ContentTransferEncodingHeader]:
          
          try:
              return cast(ContentTransferEncodingHeader,
                          self[b'content-transfer-encoding'][0])
          except (KeyError, IndexError):
              return None
docs: The ``Content-Transfer-Encoding`` header.