[
Lists Home |
Date Index |
Thread Index
]
- From: John Cowan <jcowan@reutershealth.com>
- To: "Thomas B. Passin" <tpassin@home.com>
- 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@reutershealth.com>
no more / no less || http://www.reutershealth.com
to do / all things || http://www.ccil.org/~cowan
with art- / lessness \\ -- Piet Hein
|