sukria/Dancer — pull request #758 by Ovid (2012-03-19 11:49:13+00:00)
Title: Devel

I have a test and a fix for test failures in `response_headers_include()`. This was due to the test function not properly handling how the first argument gets converted to a response. This should also fix a previously unknown error with `response_headers_are_deeply()`.

Basically, the following would fail:

response_headers_include $response ...
response_headers_are_deeply $response, ...

And you would be forced to write this (potentially reissuing a request):

response_headers_include [ $method, $path ] ...
response_headers_are_deeply [ $method, $path ] ...

Cheers,
Ovid