Raise ContentTooShortError if we don't get enough bytes

This can happen if connection is aborted before we finish the
download. urlretrieve higher level API would handle this but
we don't use it.
1 file changed