Skip to content

NewDeferredWriter now returns http.ResponseWriter too

Compare
Choose a tag to compare
@muir muir released this 15 Mar 04:49
· 155 commits to main since this release

NewDeferredWriter now returns both a deferred writer and the same deferred writer again in the guise of a http.ResponseWriter. This makes it less likely that you end up with multiple ResponseWriters in play at the same time.