Questions tagged [content-encoding]

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

A concept in HTTP/1.1 content negotiation to indicate encryption or compression of an HTTP response (such as gzip support).

The following headers are typically used to determine the content encoding of a response. However, servers are free to use other aspects they choose.

  • Accept
  • Accept-Charset
  • Accept-Encoding
  • Accept-Language
  • User-Agent

Typical values of the Transfer-Encoding header: gzip, compress, deflate, identity, *

155 questions
0
votes
2 answers

How to set content Encoding in HTML file

I want to use GZIP encoding to my site and how should . I set the content encoding of my html file to gzip. T tried like this I am using Apache Tomcat web server.
Aravindhan
  • 3,566
  • 7
  • 26
  • 42
0
votes
1 answer

open media encoding standards

I have to choose methods for digitizing and encoding media for a project which collects media from a variety of sources. What are the open media encoding standards I should consider? What could be the factors which affect my decision on the…
Uchitha
  • 998
  • 8
  • 24
-1
votes
2 answers

How to use gzip encoding in C programming without using zlib library

I would like use gzip encoding in a simple http server built on C. But I don't want to use zlib library. Please suggest how can I do this?
bingzy
  • 49
  • 10
-1
votes
1 answer

Content encoding error on class inclusion php

Good day to you all, I am here with a question, I cannot seem to have this issue figured out. This is a Content-Encoding problem caused by a class of mine that I include. As soon as I comment the class out, it works like a charm. It is a browser…
SidOfc
  • 4,552
  • 3
  • 27
  • 50
-2
votes
1 answer

Is it possible to gzip file on server-side and ungzip it in the browser transparently?

My web application sends JSON files to client. These files can be relatively big. Can I compress them on server-side and receive uncompressed on client side transparently? For example, if I write $.getJSON( "ajax/test.json", function( data )…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
1 2 3
10
11