Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Plack CPAN distribution.

Report information
The Basics
Id: 52066
Status: resolved
Priority: 0/
Queue: Plack

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

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



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
Fixed on 0.9015