Refactored HttpRequest instance