aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2015-10-26 19:38:10 +0900
committerKazuki Yamaguchi <k@rhe.jp>2015-10-26 19:38:10 +0900
commit1f541f2a210c32fbb094d3948347940cb107e478 (patch)
tree4f67076b709daad0f834578d9978e3f245b15164 /examples
parent128b674e8f9f43d393484afdf24cfa050637331a (diff)
downloadplum-1f541f2a210c32fbb094d3948347940cb107e478.tar.gz
refactoring
Diffstat (limited to 'examples')
-rw-r--r--examples/rack.ru4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rack.ru b/examples/rack.ru
index 67462e9..d4541e0 100644
--- a/examples/rack.ru
+++ b/examples/rack.ru
@@ -7,13 +7,13 @@ class App2
[
200,
{ "Content-Type" => "text/html" },
- ["*10 bytes*"*400]
+ ["8 bytes-" * 512]
]
else
[
404,
{ "Content-Type" => "text/html" },
- [""]
+ ["#{env["REQUEST_METHOD"]} #{env["PATH_INFO"]}"]
]
end
end