swift-http-types
swift-http-types copied to clipboard
Version-independent HTTP currency types for Swift
Unfortunately, `import HTTPTypesFoundation` pulls in `FoundationNetworking` unconditionally which has [issues on Linux](https://github.com/swiftlang/swift-corelibs-foundation/issues?q=is%3Aissue+is%3Aopen+URLSession). We carry link-time checks to make sure that we're not accidentally using `URLSession` in places where it's important...
Resolves #76
Need add calculated Content-Type header in HTTPResponse because if need add Content-Type in response then need add it into swiftopenapi.yaml file, but it it is to many options of Content-Type...
Is there any appetite for adding the WC3 TraceContext headers TraceParent and TraceState? At what state does a common header get added to this repo? Adding it would not only...