diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-08-18 13:31:12 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-08-18 14:03:38 -0700 |
commit | b1ea62b4d19cf8604aee273c868688631d7135d4 (patch) | |
tree | 3b47c628ab818f7620b4c62e61ecf3021c9f0df9 | |
parent | 4e81d6f2e2a6a6b3de15bbd0e08992dd4630fa4b (diff) | |
download | unicorn-b1ea62b4d19cf8604aee273c868688631d7135d4.tar.gz |
From RFC 2616, section 14.20: > Comparison of expectation values is case-insensitive for > unquoted tokens (including the 100-continue token), and is > case-sensitive for quoted-string expectation-extensions.
-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 c79cb7b..14908c5 100644 --- a/examples/echo.ru +++ b/examples/echo.ru @@ -21,7 +21,7 @@ end use Rack::Chunked run lambda { |env| - /\A100-continue\z/ =~ env['HTTP_EXPECT'] and return [100, {}, []] + /\A100-continue\z/i =~ env['HTTP_EXPECT'] and return [100, {}, []] [ 200, { 'Content-Type' => 'application/octet-stream' }, EchoBody.new(env['rack.input']) ] } |