Network.http.accept-encoding

From MozillaZine Knowledge Base
Revision as of 12:26, 9 May 2007 by Alice Wyman (talk | contribs) (→‎Background: HTTP link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Background

HTTP is the application-layer protocol that most web pages are transferred with. As part of the connection between client and server in HTTP 1.1, the client lists in what way it can/prefers to accept information (content negotiation). This preference controls which encoding types the application will report it supports.

Possible values and their effects

A comma-seperated list of encoding types with optional "q" (quality) values. A quality value says that the application prefers one type over another, but supports both. Quality values can be from 0 (not supported) to 1 (preferred format). If a quality value is omitted, it defaults to 1. Anything not listed is assumed to be not supported. Example: gzip,deflate;q=0.9,compress;q=0 means that gzip is the preferred encoding, deflate is also accepted, but compress is not. (Default: gzip, deflate).

First checked in

Present since at least 2001-05-11. Exact checkin date unknown.

Has an effect in

  • Netscape (all versions since 6.1)
  • Mozilla Suite (all versions since 0.9.1)
  • Phoenix (all versions)
  • Firebird (all versions)
  • Firefox (all versions)
  • Thunderbird (all versions)
  • Minimo (all versions)
  • SeaMonkey (all versions)

Related bugs

Related preferences

External links