11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

image/jpeg = 0.5text/html;level=2 = 0.4text/html;level=3 = 0.7Note: A user agent might be provided with a default set of qualityvalues <strong>for</strong> certain media ranges. However, unless the user agent isa closed system which cannot interact with other rendering agents,this default set ought to be configurable by the user.14.2 Accept-CharsetThe Accept-Charset request-header field can be used to indicate whatcharacter sets are acceptable <strong>for</strong> the response. This field allowsclients capable of understanding more comprehensive or specialpurposecharacter sets to signal that capability to a server which iscapable of representing documents in those character sets.Accept-Charset = "Accept-Charset" ":"1#( ( charset | "*" )[ ";" "q" "=" qvalue ] )Character set values are described in section 3.4. Each charset MAYbe given an associated quality value which represents the user'spreference <strong>for</strong> that charset. The default value is q=1. An example isAccept-Charset: iso-8859-5, unicode-1-1;q=0.8The special value "*", if present in the Accept-Charset field,matches every character set (including ISO-8859-1) which is notmentioned elsewhere in the Accept-Charset field. If no "*" is presentin an Accept-Charset field, then all character sets not explicitlymentioned get a quality value of 0, except <strong>for</strong> ISO-8859-1, which getsa quality value of 1 if not explicitly mentioned.If no Accept-Charset header is present, the default is that anycharacter set is acceptable. If an Accept-Charset header is present,and if the server cannot send a response which is acceptableaccording to the Accept-Charset header, then the server SHOULD sendan error response with the 406 (not acceptable) status code, thoughthe sending of an unacceptable response is also allowed.14.3 Accept-EncodingThe Accept-Encoding request-header field is similar to Accept, butrestricts the content-codings (section 3.5) that are acceptable inthe response.Accept-Encoding = "Accept-Encoding" ":"

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!