diff --git a/http-client/ChangeLog.md b/http-client/ChangeLog.md index 9ab60a63..f3078cb8 100644 --- a/http-client/ChangeLog.md +++ b/http-client/ChangeLog.md @@ -1,5 +1,9 @@ # Changelog for http-client +## 0.7.14 + +* Allow customizing max header length [#514](https://github.com/snoyberg/http-client/pull/514) + ## 0.7.13 * Create the ability to redact custom header values to censor sensitive information diff --git a/http-client/Network/HTTP/Client/Types.hs b/http-client/Network/HTTP/Client/Types.hs index f53850a9..3a219fac 100644 --- a/http-client/Network/HTTP/Client/Types.hs +++ b/http-client/Network/HTTP/Client/Types.hs @@ -884,6 +884,8 @@ data StreamFileStatus = StreamFileStatus deriving (Eq, Show, Ord, T.Typeable) -- | The maximum header size in bytes. +-- +-- @since 0.7.14 newtype MaxHeaderLength = MaxHeaderLength { unMaxHeaderLength :: Int } diff --git a/http-client/http-client.cabal b/http-client/http-client.cabal index 0fb1ce7e..5ad6cad0 100644 --- a/http-client/http-client.cabal +++ b/http-client/http-client.cabal @@ -1,5 +1,5 @@ name: http-client -version: 0.7.13.1 +version: 0.7.14 synopsis: An HTTP client engine description: Hackage documentation generation is not reliable. For up to date documentation, please see: . homepage: https://github.com/snoyberg/http-client