remove redundant methods from HttpRequest class