Skip to content

Releases: xmidt-org/httpaux

v0.1.3 03/16/2021

16 Mar 03:30
3517a62
Compare
Choose a tag to compare
- httpmock.RoundTripper can now use a delegate in addition to an expected return
- http.Request.GetBody can now be nil for a retry.Client (https://github.com/xmidt-org/httpaux/issues/23)
- simplified retry.New and retry.NewClient (https://github.com/xmidt-org/httpaux/issues/24)

v0.1.2 03/10/2021

10 Mar 20:16
8c5aa5a
Compare
Choose a tag to compare
- allow http.Client to be decorated as with http.RoundTripper
- cleaned up middleware
- retry package allows linear and exponential backoff for HTTP clients

v0.1.1: 12/02/2020

02 Dec 20:09
6e82b47
Compare
Choose a tag to compare
- Moved gate functionality to a subpackage
- Configurable gate control handler
- Client middleware
- Preserve CloseIdleConnections in decorated http.RoundTripper instances
- httpmock package now has convenient stretchr/testify/mock integrations
- observe is now a subpackage and exposes middleware
- normalized client and server middleware across the library
- busy functionality is now in its own package and consistently named

v0.1.0

02 Dec 18:11
Compare
Choose a tag to compare
  • Busy server middleware for controlling http.Handler concurrency
  • Gate which allows shutoff of both client and server code
  • Immutable Header
  • Observable http.ResponseWriter
  • Constant http.Handler which serves up configurable, static content
  • Error type that exposes HTTP metadata for rendering a response
  • Sonar integration