Skip to content

Commit

Permalink
current specdoc behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
atmos committed Jul 31, 2009
1 parent 6b5d280 commit 9eb7a57
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@ testing
=======

Just run rake...
rack-redirect with a value of 'www'
- forwards on from http://www.example.org to http://www.example.org/
- redirects from http://example.org to http://www.example.org/
- redirects from http://wwww.example.org to http://www.example.org/
- redirects from http://alpha.example.com to http://www.example.org/
- redirects from http://example.org/nate to http://www.example.org/nate
- redirects from http://example.org/nate?trip_id=42 to http://www.example.org/nate?trip_id=42

rack-redirect without specifying a prefix
- forwards on requests from http://example.org to the next app
- redirects from http://alpha.example.com to http://example.org/
- redirects from http://alpha.example.org/nate to http://example.org/nate
- redirects from http://alpha.example.org/nate?trip_id=42 to http://example.org/nate?trip_id=42

just using rack-redirect's middleware
- forwards on requests from http://example.org to the next app (PENDING: TODO)
Expand Down

0 comments on commit 9eb7a57

Please sign in to comment.