cubicweb/server/sources/datafeed.py
changeset 11129 97095348b3ee
parent 11055 3c1139344621
parent 11125 e717da3dc164
child 11138 78c8e64f3cef
--- a/cubicweb/server/sources/datafeed.py	Thu Feb 11 21:59:49 2016 +0100
+++ b/cubicweb/server/sources/datafeed.py	Wed Feb 17 13:45:34 2016 +0100
@@ -356,7 +356,7 @@
             self.source.info('Using cwclientlib for %s' % url)
             resp = cnx.get(url)
             resp.raise_for_status()
-            return URLLibResponseAdapter(BytesIO(resp.text), url)
+            return URLLibResponseAdapter(BytesIO(resp.content), url)
         except (ImportError, ValueError, EnvironmentError) as exc:
             # ImportError: not available
             # ValueError: no config entry found