adding support for content_encoding