Skip Menu |

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

Report information
The Basics
Id: 109108
Status: new
Priority: 0/
Queue: Catalyst-Action-REST

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

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



Subject: Cannot explicitly request no body. Patch included
Everything is here. This diff is against the current CPAN version because it was the only version I could figure out how to get a git copy of. Essentially, C:A:REST only considers a small subset of the situations in which a request may have no body. This patch allows the user to stash a reference to undef to make this happen in any situation. I recognise this may lead to invalid HTTP responses, since the spec presumably requires a body in certain situations, but caveat emptor. https://github.com/Altreus/Catalyst-Action-REST/commit/7c34a43fba368ba9f6968d8e0f3ed2636c41d6f5