fixing bug in HttpRequest that affected apiaxle 1.12.x