changeset 10143 | 2eb06486273a |
parent 10089 | 6346f53c85f1 |
child 10454 | 20f45a9b385c |
child 10516 | 4c59409220b6 |
--- a/server/sources/datafeed.py Thu Jan 22 10:43:24 2015 +0100 +++ b/server/sources/datafeed.py Wed Jan 07 16:22:27 2015 +0100 @@ -319,6 +319,8 @@ * handle file:// URL * other will be considered as plain content, useful for testing purpose """ + if headers is None: + headers = {} if url.startswith('http'): url = self.normalize_url(url) if data: