changed HttpRequest class