Do not assume Content-Length header is always available
The Content-Length header cannot always be available, for example when
the transfer encoding is chunked.
Recently downloading the gzip'd pgo_training-1.ii has been failing
locally due to this.
Reviewed-by: Hans Wennborg <firstname.lastname@example.org>
Reviewed-by: Nico Weber <email@example.com>
Commit-Queue: Arthur Eubanks <firstname.lastname@example.org>
1 file changed