|
Rack wraps HTTP requests and responses.
By doing this, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.
Rack is basically a common API for connecting web frameworks, web servers and layers of software inbetween.
Here are some key features of "Rack":
Included handlers which connect all kinds of web servers to Rack:
· Mongrel
· EventedMongrel
· SwiftipliedMongrel
· WEBrick
· FCGI
· CGI
· SCGI
· LiteSpeed
· Thin
Web servers that include Rack handlers in their distributions:
· Ebb
· Fuzed
· Glassfish v3
· Phusion Passenger (which is mod_rack for Apache and for nginx)
· Rainbows!
· Unicorn
· Zbatery
These frameworks include Rack adapters in their distributions:
· Camping
· Coset
· Halcyon
· Mack
· Maveric
· Merb
· Racktools::SimpleApplication
· Ramaze
· Ruby on Rails
· Rum
· Sinatra
· Sin
· Vintage
· Waves
· Wee, etc.
What's New in This Release: [ read full changelog ]
· Fix 1.9.1 support.
· Fix JRuby support.
· Properly handle $KCODE in Rack::Utils.escape.
· Make method_missing/respond_to behavior consistent for Rack::Lock, Rack::Auth::Digest::Request and Rack::Multipart::UploadedFile.
· Reenable passing rack.session to session middleware.
· Rack::CommonLogger handles streaming responses correctly.
· Rack::MockResponse calls close on the body object.
· Fix a DOS vector from MRI stdlib backport.
Via: Rack 1.5.1
0 Comment:
Post a Comment