Properly handle empty results in HTTP client
When we had no results, we used to return a list with an empty string. We now skip blank lines entirely. Queries returning no results will therefore now return an empty list.
Closes #4790 (closed)
Edited by Jérémy Bobbio (Lunar)