summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/contacts.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-14 12:35:37 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-14 12:35:37 +0000
commitfff952e50f44761fa85ca90819ac97c47e77b553 (patch)
tree156381ae99a3f4bae3dc42b2bc24650f67daa5a7 /protocols/SkypeWeb/src/requests/contacts.h
parent67228766fe401efef624b9c24a14d2fb5248e56c (diff)
SkypeWeb: More improvements.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12802 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/contacts.h')
-rw-r--r--protocols/SkypeWeb/src/requests/contacts.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/contacts.h b/protocols/SkypeWeb/src/requests/contacts.h
index ce16179d95..af39438ffd 100644
--- a/protocols/SkypeWeb/src/requests/contacts.h
+++ b/protocols/SkypeWeb/src/requests/contacts.h
@@ -100,9 +100,10 @@ public:
{
Headers
<< CHAR_VALUE("X-Skypetoken", token)
- << CHAR_VALUE("Accept", "application/json");
+ << CHAR_VALUE("Accept", "application/json")
+ << CHAR_VALUE("Content-type", "application/x-www-form-urlencoded");
CMStringA data;
- data.AppendFormat("greeting=%s", mir_urlEncode(greeting));
+ data.AppendFormat("greeting=%s", ptrA(mir_urlEncode(greeting)));
Body << VALUE(data);
}
};