Swift team introduces Swift HTTP Types package. This package simplifies HTTP request and response creation and parsing.
Package provides strongly typed access to HTTP methods, headers, status codes.
HTTP types work with Foundation and SwiftNIO environments.
GitHub: swift-http-types
Swift Blog: Introducing Swift HTTP Types