Rearrange else-if in Request.init to fix iOS 7 fatal error.