X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine.pm;h=7395270c28eb8d0eb6d083ec1e8c6649d653e153;hb=bc024080353d9982272a134e49e8601ed20c1a50;hp=260c9e300d286c68f544fdcc4789508dffd24c50;hpb=23f9d93414eadb11350029f13b51841d8309363b;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index 260c9e3..7395270 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -491,8 +491,8 @@ sub prepare { $c->prepare_path; $c->prepare_cookies; $c->prepare_headers; - my $method = $c->req->method; - my $path = $c->req->path; + my $method = $c->req->method || ''; + my $path = $c->req->path || ''; $c->log->debug(qq/"$method" request for "$path"/) if $c->debug; $c->prepare_action; $c->prepare_parameters;