Not sure why some requests from Rack::Test do not have a REQUEST_URI, but this handles those ones.
Not sure why some requests from Rack::Test do not have a REQUEST_URI, but this handles those ones.

jamesdempsey/rack-rewrite,jantuitman/rack-rewrite,catawiki/rack-rewrite,jtrupiano/rack-rewrite