Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix teapot example

  • Loading branch information...
commit 9f6923214f1441c47fb90225f5fd53a572366dcf 1 parent 7730849
@rkh rkh authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.