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

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

"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.

-- 
There is / one art                   || John Cowan <jcowan@r...>
no more / no less                    || http://www.reutershealth.com
to do / all things                   || http://www.ccil.org/~cowan
with art- / lessness                 \\ -- Piet Hein

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