cubicweb #9783743 datafeed is broken [validation pending]

see:

Traceback (most recent call last):
File "/usr/bin/cubicweb-ctl", line 4, in <module>
  run(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/cubicweb/cwctl.py", line 1145, in run
  CWCTL.run(args)
File "/usr/lib/python2.7/dist-packages/logilab/common/clcommands.py", line 136, in run
  sys.exit(command.main_run(args, rcfile))
File "/usr/lib/python2.7/dist-packages/logilab/common/clcommands.py", line 265, in main_run
  self.run(args)
File "/usr/lib/python2.7/dist-packages/cubicweb/server/serverctl.py", line 1005, in run
  stats = source.pull_data(cnx, force=True, raise_on_error=True)
File "/usr/lib/python2.7/dist-packages/cubicweb/server/sources/datafeed.py", line 204, in pull_data
  return self._pull_data(cnx, force, raise_on_error)
File "/usr/lib/python2.7/dist-packages/cubicweb/server/sources/datafeed.py", line 217, in _pull_data
  if self.process_urls(parser, self.urls, raise_on_error):
File "/usr/lib/python2.7/dist-packages/cubicweb/server/sources/datafeed.py", line 236, in process_urls
  if parser.process(url, raise_on_error):
File "/usr/lib/python2.7/dist-packages/cubicweb/sobjects/cwxmlparser.py", line 197, in process
  super(CWEntityXMLParser, self).process(url, raise_on_error)
File "/usr/lib/python2.7/dist-packages/logilab/common/deprecation.py", line 84, in wrapped
  return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/cubicweb/server/sources/datafeed.py", line 490, in process
  parsed = self.parse(url)
File "/usr/lib/python2.7/dist-packages/cubicweb/server/sources/datafeed.py", line 515, in parse
  stream = self.retrieve_url(url)
File "/usr/lib/python2.7/dist-packages/cubicweb/server/sources/datafeed.py", line 355, in retrieve_url
  return URLLibResponseAdapter(BytesIO(resp.text), url)
TypeError: 'unicode' does not have the buffer interface
priorityimportant
typebug
done in3.22.1
load0.500
load left0.000
closed by#3c1139344621 [datafeed] io.BytesIO requires a buffer, not a unicode (closes #9783743)
patch[datafeed] io.BytesIO requires a buffer, not a unicode (closes #9783743) [applied]