preserve other headers when adding resume header
authorJoey Hess <joeyh@joeyh.name>
Thu, 19 Nov 2020 18:41:33 +0000 (14:41 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 19 Nov 2020 18:45:22 +0000 (14:45 -0400)
commit728afbc4b1ca49940c52a151f1112d83c893d947
tree6f967d29da3968441c9ae612c1db0bdb9027be58
parentb90b9b936d17d59050263467e8e4590bf56508f0
preserve other headers when adding resume header

It had lost the hAcceptEncoding header that is set as part of the
overriding of http-client's default decompression of compressed files.
Seems likely that would have caused resuming of compressed files to fail
in some cases.

This commit was sponsored by Brett Eisenberg on Patreon.
Utility/Url.hs