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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Aron Novak’s picture

Status: Needs review » Reviewed & tested by the community

I love that such a small patch is enough to support compressed feeds :)

Aron Novak’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thank you!

alex_b’s picture

Great. We should port this to feeds, I added a case for it: #619838: http_request.inc: support all encodings (e. g. gzipped feeds)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.