summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/profile.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-03-22 20:23:42 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-03-22 20:23:42 +0000
commita9edb12c2cc13a74f16c0a61deaeaa8780f13f4e (patch)
tree70e805ba7e7f7024d31d91971655a4405cb25f92 /protocols/SkypeWeb/src/requests/profile.h
parent4ba63fe41c45077e90e24f77bcece6af9ddeafef (diff)
SkypeWeb: refactored HttpRequest
git-svn-id: http://svn.miranda-ng.org/main/trunk@12477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/profile.h')
-rw-r--r--protocols/SkypeWeb/src/requests/profile.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/profile.h b/protocols/SkypeWeb/src/requests/profile.h
index 8473d19875..2c0b4e8fb6 100644
--- a/protocols/SkypeWeb/src/requests/profile.h
+++ b/protocols/SkypeWeb/src/requests/profile.h
@@ -9,8 +9,13 @@ public:
{
flags |= NLHRF_SSL;
- AddHeader("X-Skypetoken", token);
- AddHeader("Accept", "application/json");
+ Headers
+ << CHAR_VALUE("X-Skypetoken", token)
+ << CHAR_VALUE("Accept", "application/json");
+
+
+ //AddHeader("Origin", "https://web.skype.com");
+ //AddHeader("Referer", "https://web.skype.com/main");
}
};