We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea01d97 + c78dbb0 commit 5a04516Copy full SHA for 5a04516
examples/rack/config.ru
@@ -11,9 +11,9 @@ srand
11
app = lambda do |_|
12
case rand
13
when 0..0.8
14
- [200, { 'Content-Type' => 'text/html' }, ['OK']]
+ [200, { 'content-type' => 'text/html' }, ['OK']]
15
when 0.8..0.95
16
- [404, { 'Content-Type' => 'text/html' }, ['Not Found']]
+ [404, { 'content-type' => 'text/html' }, ['Not Found']]
17
else
18
raise NoMethodError, 'It is a bug!'
19
end
0 commit comments