Fix in redirect url to include the content-type
Merge pull request #34 from pfbernardo/master

Fix for redirect url