From aa6b2f434c204d6da1906f381c418bd8f0bca163 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 24 Oct 2015 18:54:18 +0000 Subject: Steam: - remove custom db event adding - add charset utf-8 to some of requests git-svn-id: http://svn.miranda-ng.org/main/trunk@15607 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/api/login.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Steam/src/api/login.h') diff --git a/protocols/Steam/src/api/login.h b/protocols/Steam/src/api/login.h index 331822d260..ced52b065c 100644 --- a/protocols/Steam/src/api/login.h +++ b/protocols/Steam/src/api/login.h @@ -11,7 +11,7 @@ public: mir_snprintf(data, "access_token=%s&ui_mode=web", token); SetData(data, strlen(data)); - AddHeader("Content-Type", "application/x-www-form-urlencoded"); + AddHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8"); } }; @@ -25,7 +25,7 @@ public: mir_snprintf(data, "access_token=%s&umqid=%s", token, umqId); SetData(data, strlen(data)); - AddHeader("Content-Type", "application/x-www-form-urlencoded"); + AddHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8"); } }; -- cgit v1.2.3