mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: I ran across a case in a test where `HTTPResponseStatus(statusCode: 418)` unexpectedly returned a `.custom` response status. Modifications: - Add a missing `case` for creating a status from `418` - Shuffled some of cases around so that they are correctly listed in the correct 2xx, 3xx, 4xx etc. sections Result: - `HTTPResponseStatus(statusCode: 418)` now returns `.imATeapot`