Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By telling cURL to accept all the encodings it supports, we can make FeedAPI's Common syndication parser also read feeds that are, for example, gzipped. I recently had need for that and this minor patch is a result of getting it to work for my gz feeds.
For more information, see http://www.php.net/manual/en/function.curl-setopt.php.
Comment | File | Size | Author |
---|---|---|---|
feedapi-parser-common-accept-all-encodings.patch | 889 bytes | tobiassjosten |
Comments
Comment #1
Aron NovakI love that such a small patch is enough to support compressed feeds :)
Comment #2
Aron NovakCommitted. Thank you!
Comment #3
alex_b CreditAttribution: alex_b commentedGreat. We should port this to feeds, I added a case for it: #619838: http_request.inc: support all encodings (e. g. gzipped feeds)