Skip Menu |

This queue is for tickets about the Catalyst-Action-REST CPAN distribution.

Report information
The Basics
Id: 44169
Status: open
Priority: 0/
Queue: Catalyst-Action-REST

People
Owner: Nobody in particular
Requestors: onken [...] netcubed.de
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: x-tunneled-accept
Hi, It would be great if you could also add a feature which sets the Accept header to the value of $c->req->param('x-tunneled-accept'). I have REST apps which support views for xls and friends. It would be much easier if the client could supply the type of content he wishes to receive. Catalyst::Controller::REST will do the rest and deliver the right content. Moritz
Subject: Re: [rt.cpan.org #44169] x-tunneled-accept
Date: Sun, 15 Mar 2009 09:44:18 -0500 (CDT)
To: Moritz Onken via RT <bug-Catalyst-Request-REST-ForBrowsers [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Sun, 15 Mar 2009, Moritz Onken via RT wrote: Show quoted text
> It would be great if you could also add a feature which sets the Accept header to the value of > $c->req->param('x-tunneled-accept'). > > I have REST apps which support views for xls and friends. It would be much easier if the client > could supply the type of content he wishes to receive. > > Catalyst::Controller::REST will do the rest and deliver the right content.
Sounds good, patches welcome. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/