Do you have a question? Post it now! No Registration Necessary. Now with pictures!
August 4, 2006, 5:16 pm
rate this thread
often used to transport HTML, I thought some people here might have
some insights. Furthermore I'm not sure where else to ask.
Consider the following request headers (I used || to separate names and
I'm curious what the q=0.5 , q=0.7 and so forth indicate. Can someone
enlighten me? Point me to a reference?
Re: Meaning of browser headers?
They are referred to as "quality values" though that's a misnomer. They
indicate a relative weight, allowing the browser to specify which
content type, language, etc. is preferred. This allows the server to
choose the best possible representation (assuming there's more than one)
during content negotiation.
The values range from zero (0) to one (1), with at most three decimal
places. A value of zero means that item - character encoding, language,
whatever it may be - is not acceptable; the server should never return
something matching it. If there is no explicitly associated quality
value, it is assumed to be 1.0.
RFC 2616 (HTTP/1.1) is the definitive reference. Quality values are
described in section 3.9 Quality Values. HTTP headers are listed within
chapter 14 Header Field Definitions.
 RFC 2616 Hypertext Transfer Protocol -- HTTP/1.1