diff --git a/baRSS/Feed Import/WebFeed.m b/baRSS/Feed Import/WebFeed.m index e46b700..e21e138 100644 --- a/baRSS/Feed Import/WebFeed.m +++ b/baRSS/Feed Import/WebFeed.m @@ -71,8 +71,10 @@ static _Atomic(NSUInteger) _queueSize = 0; NSMutableURLRequest *req = [self newRequestURL:meta.url]; if (!flag) { // Both fields should be sent (if server provides both) RFC: https://tools.ietf.org/html/rfc7232#section-2.4 - if (meta.etag.length > 0) - [req setValue:meta.etag forHTTPHeaderField:@"If-None-Match"]; // ETag + if (meta.etag.length > 0) { + NSString *etag = [meta.etag stringByReplacingOccurrencesOfString:@"-gzip" withString:@""]; + [req setValue:etag forHTTPHeaderField:@"If-None-Match"]; // ETag + } if (meta.modified.length > 0) [req setValue:meta.modified forHTTPHeaderField:@"If-Modified-Since"]; } diff --git a/baRSS/Info.plist b/baRSS/Info.plist index 2282565..7cda347 100644 --- a/baRSS/Info.plist +++ b/baRSS/Info.plist @@ -70,7 +70,7 @@ CFBundleVersion - 11491 + 11510 LSApplicationCategoryType public.app-category.news LSMinimumSystemVersion