Fix bug with domain caching for common cookies in production
add Rack::Printout and myself as author
Fix Rack::AcceptFormat can't handler url which end with slash, and that will raise 406
Add test cases for invalid callback with JSON and non-JSON content-types.
Only check for invalid callbacks after finding response to be JSON.

Previously, a request to /widgets.html?callback=* would send a 400 "Bad Request" response to the client. This change only sends 400 "Bad Request" if the response type is JSON.
Split "should not allow literal U+2028 or U+2029" assigns and tests for ">= 1.9" and "< 1.9".
Use octets in string literals when translating U+2028 and U+2029 if using a Ruby version less than 1.9.

Previously, this would translate "u2028" to "\\u2028", because the \u escape character doesn't exist in 1.8.
Replace Gem::Version comparison with "\u2028" == 'u2028' comparison.

This ensures that the Unicode character is properly translated without relying on Gem::Version. Thanks to @judofyr.
Move U+2028 and U+2029 into constants.

This allows the Ruby compatibility check to be run once on startup rather than for every request. Thanks to @judofyr.
Add unused env parameter for lambdas (Ruby 1.9 compatibility)

Possibly related to GH-48
https://github.com/rack/rack-contrib/issues/48
Explicitly build options for tests, will be needed next
Do not mutate options given to TryStatic.new

Otherwise, given the following rackup file

----8<----clip----8<----
require 'rack'
require 'rack/contrib/try_static'

use Rack::ShowExceptions

map '/foo' do
  use Rack::TryStatic, :root => File.expand_path('public', File.dirname(__FILE__)), :urls => %w{/}, :try => %w{.html index.html /index.html}
end

run proc { [200, {'Content-Type' => 'text/html', 'Content-Length' => '3'}, ["404"]] }
----8<----clip----8<----

and the following sequence of requests against running it with
`rackup`:

1. GET /foo
2. GET /bar
3. GET /foo

Causes the options to be different in step 3 than in step 1. There
will be no :try option in step 3.
If we don't rewind the stream and use Rails and Rack, when Rails will try to read the env[POST_BODY] it will crap out with: MultiJson::DecodeError (A JSON text must at least contain two octets!) in activesupport (3.2.2) lib/active_support/json/decoding.rb:12:in `decode'
Puts the rewind into the proper place
Fixes link to Rack on GitHub in README
Merge pull request #56 from skalnik/master

Fixes link to Rack on GitHub in README
add Rack::HostMeta to autoload
add some specs for Rack::Locale
Rack::Locale picks locale with highest qvalue
Rack::Locale: a qvalue can be "0" or "1"