Skip Menu |

This queue is for tickets about the Catalyst-ActionRole-MatchRequestAccepts CPAN distribution.

Report information
The Basics
Id: 106712
Status: new
Priority: 0/
Queue: Catalyst-ActionRole-MatchRequestAccepts

People
Owner: Nobody in particular
Requestors: tsibley [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: HEAD requests are not supported
It seems that HEAD requests with Accept: headers always return a response with Content-Type: text/html even if other actions exist which would return a different Content-Type. This may be a generic problem with how HEAD requests are handled in Catalyst?
On Fri Aug 28 10:32:08 2015, TSIBLEY wrote: Show quoted text
> It seems that HEAD requests with Accept: headers always return a > response with Content-Type: text/html even if other actions exist > which would return a different Content-Type. > > This may be a generic problem with how HEAD requests are handled in > Catalyst?
I should add that I'm not trying to provide my own HEAD responses with my actions, just letting Catalyst do it's thing. I noticed this behaviour because I was testing Accept: handling with HEAD requests, only to find that my tests were bogus until I made actual GET requests.