hummingbird-project / hummingbird

Lightweight, flexible HTTP server framework written in Swift
Apache License 2.0
1.16k stars 53 forks source link

Make ResponseBodyWriter methods mutating #529

Closed adam-fowler closed 1 month ago

adam-fowler commented 1 month ago

This means a ResponseBodyWriter with internal mutable state isn't forced to be reference object.

Joannis commented 1 month ago

I think the PR has a typo, but then the code and tests run fine so I'm not sure that the typo I found is a typo at all. I'll approve it since it 'works', but please do check that first