diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-07 12:38:38 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-07 12:38:38 +0000 |
commit | 00d6d7d71a015dfeb34e891f0ebe39a7795ea57f (patch) | |
tree | 5a2d7dffd187774d8509746321063cc2135bacc0 /protocols/SkypeWeb/src/requests | |
parent | 2f4737000403cf82d38ac098f77fd071a3f9c027 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@12648 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r-- | protocols/SkypeWeb/src/requests/avatars.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/avatars.h b/protocols/SkypeWeb/src/requests/avatars.h index bee522e91f..c45c94c1ed 100644 --- a/protocols/SkypeWeb/src/requests/avatars.h +++ b/protocols/SkypeWeb/src/requests/avatars.h @@ -14,11 +14,11 @@ class SetAvatarRequest : public HttpRequest {
public:
SetAvatarRequest(const char *token, const char *skypename, const char *data) :
- HttpRequest(REQUEST_PUT, FORMAT, "api.skype.com/users/%s/profile/avatar ", skypename)
+ HttpRequest(REQUEST_PUT, FORMAT, "api.skype.com/users/%s/profile/avatar", skypename)
{
Headers
<< CHAR_VALUE("X-Skypetoken", token)
- << CHAR_VALUE("Content-Type", "application/json; charset=UTF-8");
+ << CHAR_VALUE("Content-Type", "image/jpg");
Body << VALUE(data);
}
|