summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/avatars.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/requests/avatars.h')
-rw-r--r--protocols/SkypeWeb/src/requests/avatars.h4
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);
}