sukria/Dancer — Issue #755: Dancer::Test::dancer_response doesn't accept an HTTP::Headers object as described in the POD
Author: draxil
Created: 2012-03-06 17:15:37+00:00
State: open

The POD for dancer response says:

"$headers can be an arrayref or a HTTP::Headers object"

However this isn't true. If you supply an HTTP::Headers object it fails at:

if ($headers and (my @headers = @$headers)) {

Which is Dancer::Test line 340 (in the current release).