I think they've been cases that `getInputStream()` from a network response has returned `null`. I'd feel safer to keep it even though it makes the code slightly uglier.