Cope with http.IncompleteRead on f.read().