square/rails — pull request #33 by strzalek (2014-05-08 21:48:04+00:00)
Title: Allow to set headers on request object in #recognize_path

Helpful when testing routes with host/protocol constraint:

```ruby
Rails.application.routes.recognize_path('/foo/bar', :method => 'get', 'HTTPS' => 'on', HTTP_HOST => example.com)
```

/cc @tamird