Permalink
Browse files

fix teapot example

  • Loading branch information...
1 parent 7730849 commit 9f6923214f1441c47fb90225f5fd53a572366dcf @rkh rkh committed Aug 9, 2011
Showing with 6 additions and 6 deletions.
  1. +1 −1 README.de.rdoc
  2. +1 −1 README.es.rdoc
  3. +1 −1 README.fr.rdoc
  4. +1 −1 README.rdoc
  5. +1 −1 README.ru.rdoc
  6. +1 −1 README.zh.rdoc
View
2 README.de.rdoc
@@ -732,7 +732,7 @@ Vergleichbar mit +body+ lassen sich auch Status-Code und Header setzen:
get '/foo' do
status 418
headers \
- "Allow" => "BREW, POST, GET, PROPFIND, WHEN"
+ "Allow" => "BREW, POST, GET, PROPFIND, WHEN",
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
halt "Ich bin ein Teekesselchen"
end
View
2 README.es.rdoc
@@ -814,7 +814,7 @@ De manera similar, también podés asignar el código de estado y encabezados:
get '/foo' do
status 418
headers \
- "Allow" => "BREW, POST, GET, PROPFIND, WHEN"
+ "Allow" => "BREW, POST, GET, PROPFIND, WHEN",
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
body "I'm a tea pot!"
end
View
2 README.fr.rdoc
@@ -832,7 +832,7 @@ retour et les entêtes :
get '/foo' do
status 418
headers \
- "Allow" => "BREW, POST, GET, PROPFIND, WHEN"
+ "Allow" => "BREW, POST, GET, PROPFIND, WHEN",
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
body "Je suis une théière !"
end
View
2 README.rdoc
@@ -805,7 +805,7 @@ Similar to the body, you can also set the status code and headers:
get '/foo' do
status 418
headers \
- "Allow" => "BREW, POST, GET, PROPFIND, WHEN"
+ "Allow" => "BREW, POST, GET, PROPFIND, WHEN",
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
body "I'm a tea pot!"
end
View
2 README.ru.rdoc
@@ -780,7 +780,7 @@ Thin - это более производительный и функциона
get '/foo' do
status 418
headers \
- "Allow" => "BREW, POST, GET, PROPFIND, WHEN"
+ "Allow" => "BREW, POST, GET, PROPFIND, WHEN",
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
body "I'm a tea pot!"
end
View
2 README.zh.rdoc
@@ -897,7 +897,7 @@ Session被用来在请求之间保持状态。如果被激活,每一个用户
get '/foo' do
status 418
headers \
- "Allow" => "BREW, POST, GET, PROPFIND, WHEN"
+ "Allow" => "BREW, POST, GET, PROPFIND, WHEN",
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt"
body "I'm a tea pot!"
end

0 comments on commit 9f69232

Please sign in to comment.