Hmm, it doesn't actually seem to be just that, although the symptoms are extremely similar. xenial's haskell-cabal-install was built against libghc-http-dev 1:4000.2.20-3, and the bug above was fixed in HTTP 4000.2.11. The current issue is in fact:
https://github.com/haskell/HTTP/issues/68
Hmm, it doesn't actually seem to be just that, although the symptoms are extremely similar. xenial's haskell- cabal-install was built against libghc-http-dev 1:4000.2.20-3, and the bug above was fixed in HTTP 4000.2.11. The current issue is in fact:
https:/ /github. com/haskell/ HTTP/issues/ 68