jira SDK-5322: DIAL client that supports 2.1 and higher SHOULD include a clientDialVer query parameter while querying application status

This commit is contained in:
jcli
2017-03-05 13:26:16 -08:00
parent f686fd9a19
commit 44f1acb300
3 changed files with 23 additions and 2 deletions

View File

@@ -67,6 +67,10 @@ int DialServer::sendCommand(
CURL *curl;
CURLcode res = CURLE_OK;
struct curl_slist *slist = NULL;
// since we are Dial Version 2.1, added query paramter to indicate Dial Version
url += "?clientDialVer=";
url += CLIENT_VERSION;
if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK)
{