resp maybe None when pre_request raise exceptions
Merge pull request #583 from pypeng/resp-maybe-none

resp maybe None when pre_request raises exceptions