renamed encoding to content_transfer_encoding