HTTP should contain port in 'Host' header (#427)

This commit is contained in:
Vol-Alex
2023-02-12 00:27:40 +01:00
committed by GitHub
parent 679ce519dd
commit 6cc21f3658
3 changed files with 44 additions and 16 deletions

View File

@ -19,5 +19,13 @@ namespace ix
std::string& path,
std::string& query,
int& port);
static bool parse(const std::string& url,
std::string& protocol,
std::string& host,
std::string& path,
std::string& query,
int& port,
bool& isProtocolDefaultPort);
};
} // namespace ix