Only redirect for html requests
Merge pull request #85 from dbwinger/master

Only redirect for html requests