Top "Content-encoding" questions

Use this tag for questions regarding specifying content encoding on HTTP requests.

Transfer-Encoding: gzip vs. Content-Encoding: gzip

What is the current state of affairs when it comes to whether to do Transfer-Encoding: gzip or a Content-Encoding: gzip …

http gzip content-encoding transfer-encoding
Android: HTTP communication should use "Accept-Encoding: gzip"

I've a HTTP communication to a webserver requesting JSON data. I'd like compress this data stream with Content-Encoding: gzip. Is …

android http gzip content-encoding
Handling HTTP ContentEncoding "deflate"

What InputStream type should be used to handle URLConnection streams that have HTTP Content-Encoding set to deflate? For a Content-Encoding …

java http http-compression content-encoding
Accept-Encoding:gzip and Content-Encoding:gzip

What is the difference between the two HTTP headers? Accept-Encoding:gzip Content-Encoding:gzip

http-headers gzip content-encoding http-accept-encoding
HTTP content encoding, base64

Is there any way to know if the message body of an HTTP response is encoded with Base64? I learnt …

http base64 content-encoding
PHP ob_start() and ob_start('ob_gzhandler')

What is the difference between using ob_start() and ob_start('ob_gzhandler') ? How does it affect the page speed ?

php buffer content-encoding
How can I pre-compress files with mod_deflate in Apache 2.x?

I am serving all content through apache with Content-Encoding: zip but that compresses on the fly. A good amount of …

apache http gzip mod-deflate content-encoding
ASP.NET Web API content encoding

I've created an API.NET Web API. It uses the default utf-8 content encoding. I need the output to be …

asp.net web-services asp.net-web-api content-type content-encoding
Why does ob_start('ob_gzhandler') break this website?

I've got a site that throws a Content Encoding Error in the browser if a ob_start('ob_gzhandler') is …

php content-encoding
How can I accept gzip-compressed content using LWP::UserAgent?

I am fetching some pages over the Web using Perl's LWP::UserAgent and would like to be as polite as …

perl lwp content-encoding