4 Commits
Author SHA1 Message Date
Guoye Zhang d5578e7b77 Handle absolute-form requests when converting from/to HTTPTypes (#293)
Handle absolute-form requests when converting from/to HTTPTypes.

### Motivation:

HTTPTypes represent modern HTTP/2 / HTTP/3 semantics which do not
support absolute-form requests.

### Modifications:

When converting an absolute-form request to an HTTPRequest, the request
target is converted to its path. When converting an HTTPRequest back,
the user needs to specify which form to convert to.

### Result:

HTTPRequest no longer contains invalid paths when working with cleartext
HTTP/1 proxies.
2025-11-04 12:31:24 -05:00
George Barnett c92af9d4ef Strict concurrency for HTTPTypes and friends (#259) 2025-04-01 15:44:08 +00:00
Adam Fowler 6717fd068f Add RemovableChannelHandler comformance to HTTPType channel handlers (#213) 2023-12-06 10:00:50 +00:00
Guoye Zhang 798c962495 Add HTTP types adapter for SwiftNIO (#202)
* Add HTTP types adapter for SwiftNIO

* swiftformat

* Guard on Swift 5.8

* Review comments

* Update swift-http-types to 0.1.1

* Update swift-http-types to 1.0.0

* Review feedback

* Review feedback

* Bump minimum Swift version to 5.7.1

* Allow Host in any order
2023-10-20 17:55:23 +01:00