Check the HTTP response data for nullness
Check the HTTP response data for nullness

Although it should not happen, it looks like the response data from a
successful HTTP request may be incorrect (for example because the
connection was dropped before the whole body was received).

Also, not being able to get the result is not necessarily an error. We
will log it as a warning, and let the caller determine how it should be
handled.

Note that we removed the whitespace substitution in the process. The
JSON body should already be well formed, and does not need any massaging
before being used.

auricgoldfinger/cgeo,cgeo/cgeo,vishwakulkarni/cgeo,marco-dev/c-geo-opensource,kumy/cgeo,SammysHP/cgeo,pstorch/cgeo,auricgoldfinger/cgeo,Bananeweizen/cgeo,S-Bartfast/cgeo,pstorch/cgeo,tobiasge/cgeo,cgeo/cgeo,kumy/cgeo,madankb/cgeo,mucek4/cgeo,yummy222/cgeo,Bananeweizen/cgeo,superspindel/cgeo,matej116/cgeo,cgeo/cgeo,SammysHP/cgeo,vishwakulkarni/cgeo,schwabe/cgeo,Huertix/cgeo,kumy/cgeo,schwabe/cgeo,lewurm/cgeo,samueltardieu/cgeo,KublaikhanGeek/cgeo,SammysHP/cgeo,matej116/cgeo,S-Bartfast/cgeo,superspindel/cgeo,ThibaultR/cgeo,Huertix/cgeo,rsudev/c-geo-opensource,vishwakulkarni/cgeo,auricgoldfinger/cgeo,Huertix/cgeo,tobiasge/cgeo,yummy222/cgeo,lewurm/cgeo,madankb/cgeo,KublaikhanGeek/cgeo,ThibaultR/cgeo,tobiasge/cgeo,ThibaultR/cgeo,xiaoyanit/cgeo,Bananeweizen/cgeo,lewurm/cgeo,pstorch/cgeo,matej116/cgeo,mucek4/cgeo,schwabe/cgeo,xiaoyanit/cgeo,S-Bartfast/cgeo,superspindel/cgeo,samueltardieu/cgeo,madankb/cgeo,marco-dev/c-geo-opensource,rsudev/c-geo-opensource,xiaoyanit/cgeo,cgeo/cgeo,KublaikhanGeek/cgeo,mucek4/cgeo,yummy222/cgeo,samueltardieu/cgeo,schwabe/cgeo,brok85/cgeo,brok85/cgeo,brok85/cgeo,marco-dev/c-geo-opensource,rsudev/c-geo-opensource