Completed implementation of HttpRequest (all three lines)