You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Ryan Lubke <Ry...@Sun.COM> on 2002/06/04 20:11:58 UTC

[PATCH] HttpClient - Correction to addHostRequestHeader behvior + cleanup

Hi,

Attached is a patch to correct the
HttpMethodBase.addHostRequestHeader().

Currently, this method only adds the hostname to the header value, 
however, if the target service is on a different port, then the
header provided will be incorrect.

The patch also includes some general formatting cleanup to the
class.

-rl