public
Fork of bmizerany/sinatra
Description: Classy web-development dressed in a DSL
Homepage: http://sinatrarb.com
Clone URL: git://github.com/Chrononaut/sinatra.git

Comments for sinatra   feed

bmizerany commented on Chrononaut/sinatra 5 months ago
Comment in 5d8859b:

awesome ;)

Chrononaut commented on Chrononaut/sinatra 5 months ago
Comment in 01c9e2c:

Thanks, I’ve applied the change in HEAD

rtomayko commented on Chrononaut/sinatra 5 months ago
Comment on lib/sinatra.rb L640 in 01c9e2c:

Minor stylistic nit: you can pass the status code when you throw halt:
header ‘WWW-Authenticate’ => %(Basic realm="#{realm}")
throw :halt, [ 401, ‘Authorization Required’ ]
LOC