projects
/
catagits/Web-Simple.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
maintain $env->{Web::Dispatch.original_env} for ParamParser to cache in
[catagits/Web-Simple.git]
/
lib
/
Web
/
Simple
/
Application.pm
diff --git
a/lib/Web/Simple/Application.pm
b/lib/Web/Simple/Application.pm
index
e4ef3db
..
88f025e
100644
(file)
--- a/
lib/Web/Simple/Application.pm
+++ b/
lib/Web/Simple/Application.pm
@@
-89,7
+89,7
@@
sub _test_request_spec_to_http_request {
my $request = HTTP::Request->new($method => $path);
- if ($method eq 'POST' or $method eq 'PUT' and @rest) {
+ if (($method eq 'POST' or $method eq 'PUT') and @rest) {
my $content = do {
require URI;
my $url = URI->new('http:');