Ensure there is a response before redirect check
Merge pull request #2 from kirbysayshi/patch-1

Ensure there is a response before redirect check