mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
set lang header
This commit is contained in:
@@ -86,6 +86,7 @@ public class HttpGetter {
|
||||
HttpClient client = newClient();
|
||||
try {
|
||||
HttpGet httpget = new HttpGet(url);
|
||||
httpget.addHeader(HttpHeaders.ACCEPT_LANGUAGE, "en");
|
||||
httpget.addHeader(HttpHeaders.PRAGMA, "No-cache");
|
||||
httpget.addHeader(HttpHeaders.CACHE_CONTROL, "no-cache");
|
||||
httpget.addHeader(HttpHeaders.USER_AGENT,
|
||||
|
||||
Reference in New Issue
Block a user