[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: John Cowan <jcowan@r...>
  • Date: Mon, 23 Oct 2000 19:25:51 -0400

John Cowan wrote -

> "Thomas B. Passin" wrote:
>
> > Do you mean if the request is for a ".html" file, then
that
> > file is returned?  Because an HTTP request has no way to
> > indicate a mime type for the returned data.
>
> Sure it does.  Sending the header "Accept: text/html" with
the
> request means you want HTML and nothing else.  A
conformant server
> that has no HTML version available must respond with a 406
error.
>
> See RFC 2616, section 14.1.
>

Thanks, John, I didn't realize the "Accept" header was so
strong in its asertions.

Tom Passin


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member