[closes #49] make redirects match the RFC
make redirect backward compatible
Merge pull request #50 from capotej/make_redirect_match_rfc

[closes #49] make redirects match the RFC