handle `nil` `@response_status`

fixes #4212