diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-10-02 19:00:15 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-10-02 19:00:15 +0000 |
commit | fb3dc0b39055701049d438bdaabda177d5b9edea (patch) | |
tree | 65d9a2b0e2a9476055fab6b0d91d21f5f98409ae /protocols | |
parent | a6175cc98ca2b8ca61faa927e934f49375cee685 (diff) |
fixes:85
git-svn-id: http://svn.miranda-ng.org/main/trunk@1767 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/NewsAggregator/Src/Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/NewsAggregator/Src/Utils.cpp b/protocols/NewsAggregator/Src/Utils.cpp index b6007f7d39..1fb25eddb3 100644 --- a/protocols/NewsAggregator/Src/Utils.cpp +++ b/protocols/NewsAggregator/Src/Utils.cpp @@ -145,7 +145,7 @@ VOID GetNewsData(TCHAR *tszUrl, char** szData, HANDLE hContact, HWND hwndDlg) // initialize the netlib request
nlhr.cbSize = sizeof(nlhr);
nlhr.requestType = REQUEST_GET;
- nlhr.flags = NLHRF_NODUMP | NLHRF_HTTP11;
+ nlhr.flags = NLHRF_HTTP11;
char *szUrl = mir_t2a(tszUrl);
nlhr.szUrl = szUrl;
nlhr.nlc = hNetlibHttp;
@@ -161,7 +161,7 @@ VOID GetNewsData(TCHAR *tszUrl, char** szData, HANDLE hContact, HWND hwndDlg) nlhr.headers[3].szName = "Connection";
nlhr.headers[3].szValue = "close";
nlhr.headers[4].szName = "Accept";
- nlhr.headers[4].szValue = "ext/html, application/xml";
+ nlhr.headers[4].szValue = "*/*";
if (DBGetContactSettingByte(hContact, MODULE, "UseAuth", 0) || IsDlgButtonChecked(hwndDlg, IDC_USEAUTH))
{
nlhr.headersCount = 6;
|