Handle gzip in DefaultHttpDataSource.
Setting the requested encoding in all cases ensures we receive the relevant response headers indicating whether gzip was used. Doing that allows to detect the content length in cases where gzip was requested, but the server replied with uncompressed content. PiperOrigin-RevId: 250660890
Showing
with
16 additions
and
10 deletions
Please
register
or
sign in
to comment