Skip to content

Add trailers and request body streaming experimental SPIs#911

Merged
gjcairo merged 2 commits into
swift-server:mainfrom
guoye-zhang:spi-for-httpapis
Jul 2, 2026
Merged

Add trailers and request body streaming experimental SPIs#911
gjcairo merged 2 commits into
swift-server:mainfrom
guoye-zhang:spi-for-httpapis

Conversation

@guoye-zhang

Copy link
Copy Markdown
Contributor

Adding the SPIs necessary to support the AHC backend in https://github.com/apple/swift-http-api-proposal

Comment thread Package.swift Outdated
traits: [
.default(enabledTraits: []),
.trait(
name: "ExperimentalHTTPAPIsSupport",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we follow the naming convention of UnstableXXX precedented by swift-collections and swift-async-algorithsm?

Suggested change
name: "ExperimentalHTTPAPIsSupport",
name: "UnstableHTTPAPIsSupport",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed

@gjcairo gjcairo added the 🆕 semver/minor Adds new public API. label Jul 1, 2026
@gjcairo gjcairo merged commit 4603a80 into swift-server:main Jul 2, 2026
35 of 36 checks passed
@guoye-zhang guoye-zhang deleted the spi-for-httpapis branch July 2, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants