Created
August 30, 2013 16:54
-
-
Save tomoyoirl/6391979 to your computer and use it in GitHub Desktop.
This is a Sinatra example from the Sinatra README.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get '/foo' do | |
status 418 | |
headers \ | |
"Allow" => "BREW, POST, GET, PROPFIND, WHEN", | |
"Refresh" => "Refresh: 20; http://www.ietf.org/rfc/rfc2324.txt" | |
body "I'm a tea pot!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment