diff --git a/README.de.rdoc b/README.de.rdoc index 3c4254be8d..8bde7dcdeb 100644 --- a/README.de.rdoc +++ b/README.de.rdoc @@ -947,7 +947,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 diff --git a/README.es.rdoc b/README.es.rdoc index 825d478ee7..7334f7256f 100644 --- a/README.es.rdoc +++ b/README.es.rdoc @@ -916,7 +916,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 diff --git a/README.fr.rdoc b/README.fr.rdoc index db5de6ad5c..29e4621abd 100644 --- a/README.fr.rdoc +++ b/README.fr.rdoc @@ -940,7 +940,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 "I'm a tea pot!" end diff --git a/README.rdoc b/README.rdoc index 6b7ca7d249..cf97e03435 100644 --- a/README.rdoc +++ b/README.rdoc @@ -928,7 +928,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 diff --git a/README.zh.rdoc b/README.zh.rdoc index 6f246c9211..52a95fc4d2 100644 --- a/README.zh.rdoc +++ b/README.zh.rdoc @@ -884,7 +884,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