This also improves the HTTPClient class documentation to be easier to read and more informative. This closes #40564.