diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-05-02 22:22:41 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-05-02 22:22:41 +0000 |
commit | 70436074ae8f66a092d0212fb8b99b94d0fd03a6 (patch) | |
tree | 694fd4a013fd9b81e393bc0cf2d83b51920e009c /protocols/Steam/src/http_request.h | |
parent | 9b111dc84cd76cdbdb3f820237d3de0b1555deb1 (diff) |
Steam: improved contact management
git-svn-id: http://svn.miranda-ng.org/main/trunk@9108 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/http_request.h')
-rw-r--r-- | protocols/Steam/src/http_request.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h index c08bd1434a..b4f312111b 100644 --- a/protocols/Steam/src/http_request.h +++ b/protocols/Steam/src/http_request.h @@ -115,7 +115,6 @@ public: NETLIBHTTPREQUEST *response = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)m_hNetlibUser, (LPARAM)this);
mir_free(szUrl);szUrl = NULL;
return response;
-
}
private:
@@ -156,7 +155,10 @@ class SecureHttpPostRequest : public SecureHttpRequest {
public:
SecureHttpPostRequest(HANDLE hNetlibUser, LPCSTR url)
- : SecureHttpRequest(hNetlibUser, REQUEST_POST, url) { }
+ : SecureHttpRequest(hNetlibUser, REQUEST_POST, url)
+ {
+ AddHeader("Content-Type", "application/x-www-form-urlencoded");
+ }
};
#endif //_HTTP_REQUEST_H_
\ No newline at end of file |