Remove HTTP functionality
It wasn't used so it can be removed.
This commit is contained in:
@ -169,25 +169,10 @@ int test_checksums()
|
||||
return 0;
|
||||
}
|
||||
|
||||
void test_http()
|
||||
{
|
||||
auto res = mxs::http::get("https://mariadb.com/");
|
||||
std::cout << "https://mariadb.com/ responded with: " << res.code << std::endl;
|
||||
if (res.code == 200)
|
||||
{
|
||||
if (res.headers.count("Date"))
|
||||
{
|
||||
std::cout << "The date is: " << res.headers["Date"] << std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int rv = 0;
|
||||
|
||||
test_http(); // Just to see that it works
|
||||
|
||||
rv += test_trim();
|
||||
rv += test_trim_leading();
|
||||
rv += test_trim_trailing();
|
||||
|
Reference in New Issue
Block a user