W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2008

Re: [rest-discuss] MIME properties instead +

From: Subbu Allamaraju <subbu@subbu.org>
Date: Thu, 11 Dec 2008 11:21:05 -0800
Cc: Stefan Tilkov <stefan.tilkov@innoq.com>, REST-Discuss Discussion Group <rest-discuss@yahoogroups.com>
Message-Id: <3AAF3EA9-473C-45AA-BA77-2991E9ECA5AA@subbu.org>
To: Bill Burke <bburke@redhat.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>

Perhaps that is a question for the HTTP-WG for clarification since  
2616 defines Accept-* as request headers.


On Dec 11, 2008, at 10:53 AM, Bill Burke wrote:

> I do like the idea of asking the server for what data formats it
> supports though.  I wish the OPTIONS method of HTTP provided this
> information.  For example:
> OPTIONS /foo/bar
> would return a response of
> HTTP/1.1 200 OK
> Accept: application/xml, application/json, text/plain
> Accept-Language: en, es, fr
> Allow: GET, POST, HEAD
> Could something like this be done?  Or is this overloading OPTIONS too
> much.  The specification really doesn't say exactly what OPTIONS
> returns, but what I'm proposing does seem to fall in the definition of
> the method.
Received on Thursday, 11 December 2008 19:21:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:58 GMT