Add redirect support
Merge pull request #3 from widop/f-redirect

Add redirect support