Add the port to the HTTP Host header when needed.
* When the port is not the default one, it must be added to the "Host" header so the server knows what we're connecting to. Fixes #11070.
This commit is contained in:
@@ -81,6 +81,9 @@ private:
|
||||
void _SetResultStatusCode(int32 statusCode);
|
||||
BString& _ResultStatusText();
|
||||
|
||||
// Utility methods
|
||||
bool _IsDefaultPort();
|
||||
|
||||
private:
|
||||
BAbstractSocket* fSocket;
|
||||
BNetworkAddress fRemoteAddr;
|
||||
|
||||
Reference in New Issue
Block a user