mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
Motivation: The HTTP/1 headers were quite complicated, CoW-boxed and exposed their guts (being a ByteBuffer). In Swift 5 this is no longer necessary because of native UTF-8 Strings. Modifications: - make headers simply `[(String, String)]` - remove `HTTPHeaderIndex`, `HTTPListHeaderIterator`, etc Result: - simpler and more performant code