mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Motivation: Addressing the https://github.com/apple/swift-nio/issues/713 Modifications: Forward the statusCode from NIOHTTP1Server main handleJustWrite to ctx.writeAndFlush instead of always using "ok" Result: ChannelHandlerContext will write the correct status code even when it's not "ok"