Fix NullPointerException on HTTP error with empty body, e.g. 304
Merge branch 'npe304' into develop