diff options
Diffstat (limited to 'examples/echo.ru')
-rw-r--r-- | examples/echo.ru | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo.ru b/examples/echo.ru index 14908c5..453a5e6 100644 --- a/examples/echo.ru +++ b/examples/echo.ru @@ -1,4 +1,5 @@ #\-E none +# frozen_string_literal: false # # Example application that echoes read data back to the HTTP client. # This emulates the old echo protocol people used to run. @@ -19,7 +20,6 @@ class EchoBody < Struct.new(:input) end -use Rack::Chunked run lambda { |env| /\A100-continue\z/i =~ env['HTTP_EXPECT'] and return [100, {}, []] [ 200, { 'Content-Type' => 'application/octet-stream' }, |