On Jun 10, 2007, at 4:09 PM, Sean Owen wrote:
>
> It's an interesting point. RFC 2616 says in 14.1 that
Accept *can*
> indicate desired types this way, and 10.4.7 says that
servers can even
> return a type not listed in the Accept header in some
cases. I bring
> it up to make the point that Accept seems to be advice,
and doesn't
> have to exactly enumerate acceptable types.
>
> It seems standard practice that user agents send a
fixed string
> listing all of what they support each time.
At least for desktop browsers, that is not the case. They
would send
a different Accept: header when requesting the main
document, when
requesting a CSS stylesheet, when requesting an image for an
<img>
element, when requesting a script, etc.
Regards,
Maciej
|