if (!addr->Service(wxT("http")))
addr->Service(80);
-
+
SetHeader(wxT("Host"), host);
return TRUE;
wxIPV4address *ipv4addr = wxDynamicCast(&addr, wxIPV4address);
if (ipv4addr)
- SetHeader(wxT("Host"), ipv4addr->Hostname());
+ SetHeader(wxT("Host"), ipv4addr->OrigHostname());
return TRUE;
}