MCPcopy Create free account
hub / github.com/apache/impala / curl

Function curl

be/src/util/webserver-test.cc:480–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480string curl(const string& curl_options, int32_t port = FLAGS_webserver_port) {
481 string cmd = Substitute("curl -v -f $0 'http://127.0.0.1:$1'", curl_options, port);
482 cout << cmd << endl;
483 return cmd;
484}
485
486string curl_status_code(const string& curl_options, int32_t port = FLAGS_webserver_port) {
487 string cmd = Substitute("curl -s -f -w \"%{http_code}\" $0 'http://127.0.0.1:$1'",

Callers 1

TESTFunction · 0.85

Calls 1

SubstituteFunction · 0.85

Tested by

no test coverage detected