Red Hat Bugzilla – Bug 9606
HTTPUrlConnection does not send Host: header
Last modified: 2014-03-16 22:12:42 EDT
The HTTP client code in kaffe does not send the Host: header.
This means that it can't access virtual hosts. The fix is
very simple; just add the Host: header (with value taken from
url.getHost()) in the writeBytes() call in the connect() method in
I have made the fix available at
You'll find a patch, an SRPM, an RPM, the updated Klasses.jar, and a test
fixed in kaffe-1.0.5-3.