Subject: | request object not set when using Plack::Test and MockHTTP |
Attempting to use any HTTP::* module that relies on HTTP::Request object
being provided in HTTP::Response object will break with an error message
about calling methods on an undefined object.
For instance :
Can't call method uri on an undefined value in HTTP::Cookie when trying
to get cookies from a response.
This is because MockHTTP doesn't set the request after building it from
psgi.
Fix :
http://github.com/hashbangperl/Plack/commit/334bf0683dc0e476700825e9c05455868d0c0d73