- From: Cameron Jones <cmhjones@gmail.com>
- Date: Mon, 16 Jun 2014 16:57:19 +0100
- To: Jose Antonio Illescas del Olmo <jose.illescas@gmail.com>
- Cc: "public-html-comments@w3.org" <public-html-comments@w3.org>
Received on Monday, 16 June 2014 15:57:46 UTC
On Sat, Jun 14, 2014 at 11:53 AM, Jose Antonio Illescas del Olmo < jose.illescas@gmail.com> wrote: > Please consider add (optional) "accept" header to request concrete > representations: > > Until now is necesary delegato on extension to download concrete > representations: > > For example: > > Now: <a href="/resource.pdf"/> > Proposed: <a href="/resource" accept="application/pdf"/> > > Now: <a href="/resource.svg"/> > Proposed: <a href="/resource" accept="image/svg+xml"/> > > > The same attribute "accept" can be applied for <forms> > > <form method="get" action="/formula" accept="application/mathml+xml"> > ... > > Thank you > This feature is available within the HTTP Form Extensions specification: http://www.w3.org/TR/form-http-extensions/ You can configure a form using inputs which may override the standard Accept header: <form method="GET" action="/formula"> <input name="Accept" value="application/mathml+xml" type="hidden" payload="_header"/> <button type="submit"/> </form> Thanks, Cameron Jones
Received on Monday, 16 June 2014 15:57:46 UTC