Closed mtrudel closed 8 months ago
:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:
Could I entice y'all to push a release soon? Turns out that the typespec change in this PR is actually important downstream; dialyzer complains otherwise if you attempt to return nil
as a body
Done!
Mostly intended to remove the suggestion that adapter implementations return a simple
:ok
fromchunk/2
calls.Blind adherence to this suggestion early on the development of Bandit has caused me no end of grief by preventing the adapter from being able to track state for aspects of metrics, H2 send window management, etc. I was today years old when I actually realized that Plug would have let me track chunking state this whole time. The change in wording here is to save the next webserver implementor from the same fate.