Doc for content_type :foo

This commit is contained in:
Simon Rozet 2009-12-23 03:12:23 +01:00
parent 7c5d693718
commit cb8fcb6350
1 changed files with 4 additions and 0 deletions

View File

@ -445,6 +445,10 @@ doesn't understand. Use +mime_type+ to register them by file extension:
mime_type :foo, 'text/foo'
You can also use it with the +content_type+ helper:
content_type :foo
== Rack Middleware
Sinatra rides on Rack[http://rack.rubyforge.org/], a minimal standard