W3C home > Mailing lists > Public > public-ws-desc-comments@w3.org > August 2005

HTTP binding: Use of HTTP accept headers

From: Hugo Haas <hugo@w3.org>
Date: Wed, 24 Aug 2005 12:14:48 +0200
To: public-ws-desc-comments@w3.org
Message-ID: <20050824101448.GL25190@w3.org>
Part 2's section 6.3 Default Binding Rules states:

     * Accept headers. Standard HTTP accept headers (see section 14 of [IETF
       RFC 2616]) MAY be used in an HTTP request. When constructing an HTTP
       Accept header, the HTTP client MAY take into account the
       expectedMediaType information (see [MTXML]) appearing on an output
       message description to find out about the type of binary element
       content which is expected to be sent by the HTTP server.

This hints that expectedMediaType may contain a list of media types
that may be used in an HTTP response.

However, we have defined an {http output serialization} property which
declares the one media type which is being used in the HTTP response.

So how does expectedMediaType come into play here? Do Accept headers
really do anything useful?

This needs to be clarified.

For background information, see the thread starting at [1].

Should we keep the text above, "appearing on an output message
description" needs to be crisply expressed in terms of components and
properties.

  1. http://lists.w3.org/Archives/Public/www-ws-desc/2005Aug/0010.html
-- 
Hugo Haas - W3C
mailto:hugo@w3.org - http://www.w3.org/People/Hugo/

Received on Wednesday, 24 August 2005 10:14:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:31 GMT