Any reason why you decided to put this on the HttpRequest object instead of the Connection?
I think the author meant to have the HttpRequest object as a DSL while the Connection gets the work done