-
Maintenance
-
Fix content-length being set (#66)
-
-
API
-
Add send_data (#51)
-
-
API
-
Add support for external loaders (#50)
-
-
API
-
Add support for lambda matchers
-
-
Maintenance
-
Update README for usage with Rails 4 and threading, :scheme option
-
-
Maintenance
-
Use Rack::Request to match the host
-
-
API
-
:headers option to send additional headers with the response
-
-
API
-
:host and :method option to match SERVER_NAME and REQUEST_METHOD env params.
-
:not option to negative match against path.
-
-
Maintenance
-
Refactored internals a bit.
-
-
Maintenance
-
:send_file rules return content in an Array for Ruby 1.9.2 compatibility
-
-
Maintenance
-
Set Content-Type based on file extension of file/location being redirected to. Addresses GitHub Issue #8.
-
-
API
-
Fix rack 1.1.0 / rails3 compatibility by eliminating reliance on REQUEST_URI env param. Paths are now constructed with PATH_INFO and QUERY_STRING
-
Follow rack directory/require convention: require ‘rack/rewrite’ instead of ‘rack-rewrite’
-
Include an HTML anchor tag linked to where the URL being redirected to in the body of 301’s and 302’s
-
-
API
-
Implement $& substitution pattern (thanks to Ben Brinckerhoff)
-
-
Maintenance
-
Ignore empty captures instead of failing during subsitution (thanks to Ben Brinckerhoff)
-
Play nice with Rack::Test requests which only set PATH_INFO and not REQUEST_URI (thanks to @docunext)
-
Use QUERY_STRING instead of QUERYSTRING as per Rack spec. Closes Issue #1.
-
-
API
-
Allow Proc’s to be be passed as the ‘to’ argument to rule declarations
-
Introduce rule guard support using :if => Proc.new option.
-
:send_file and :x_send_file rules
-
proxy rack_env to rule guards for arbitrary rule writing
-
-
Documentation
-
Add example of writing capistrano maintenance page rewrite rules
-
Add examples of rule guards and arbitrary rewriting
-
Add examples of :send_file and :x_send_file rules
-
-
Maintenance
-
Ensure Content-Type header is set for 301’s and 302’s (thanks to Sebastian Röbke)
-
-
Documentation
-
Add HISTORY.rdoc
-
-
Initial Feature Set
-
:r301, :r302 and :redirect are supported in the rewrite DSL
-
Regex matching/substitution patterns supported in rules
-