W3C home > Mailing lists > Public > xml-dist-app@w3.org > January 2001

Re: MIME marking for SOAP and XP (was text/xml for SOAP (and XP) con sidered harmful)

From: Mark Baker <mark.baker@canada.sun.com>
Date: Thu, 04 Jan 2001 10:33:01 -0500
Message-ID: <3A5497AD.3F3B9F79@canada.sun.com>
To: Andrew Layman <andrewl@microsoft.com>, xml-dist-app@w3.org, mmurata@trl.ibm.co.jp
I wrote:
> IMO, #2 is required because *current practice* is to dispatch additional
> processors off a media type, not an HTTP header or an XML namespace.

Andrew asked me offline to elaborate on "current practice".  In the most
popular web server around, Apache, a mechanism exists that allows for
handlers to be created based on anything in request_rec, which includes
the request headers.  So it is possible to dispatch from headers, at
least in Apache.  The web server I have the most experience with,
JavaWebServer, does not permit this that I'm aware of.

But whether it's possible or not is a different question than whether
it's common practice.  Custom handler creation in Apache is not a common
thing; there's somewhere on the order of 10 of them (determined by
looking for them).  I believe the fact that the default handler in
Apache dispatches on media type is what I'm speaking about; that unless
you set up a special handler (and as far as I'm aware, a special one
would need to be coded to dispatch on a header), dispatching will be
done by media type.

Received on Thursday, 4 January 2001 10:29:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:11:30 UTC