Thin / Mongrel / headers "Accept-Ranges"
-
macournoyer
- State changed from new to invalid
No need to add anything to THin for this:
app = proc do |env| # Response body has to respond to each and yield strings # See Rack specs for more info: http://rack.rubyforge.org/doc/files/SPEC.html body = ['hi!'] [ 200, # Status code { 'Content-Type' => 'text/html', 'Accept-Ranges' => '10' }, # Reponse headers body # Body of the response ] end run app
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.