-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-clientArea: client.Area: client.A-http1Area: HTTP/1 specific.Area: HTTP/1 specific.A-http2Area: HTTP/2 specific.Area: HTTP/2 specific.A-serverArea: server.Area: server.B-breaking-changeBlocked: this is an "API breaking change".Blocked: this is an "API breaking change".C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.
Milestone
Description
With the split of the builders into per-version kinds (see #2842 and #2851), I feel there's a new question around whether we should remove the prefixes from the method names. They used to exist because the builders were combined over multiple HTTP versions, so the options were scoped to a version. But now:
mod http1 {
impl Builder {
pub fn http1_title_case_headers() {
// ...
}
}
}
It seems all those can have the http1_
prefix removed, and same for the http2::Builder
s.
Noticed in hyperium/hyper-util#11 (comment).
Metadata
Metadata
Assignees
Labels
A-clientArea: client.Area: client.A-http1Area: HTTP/1 specific.Area: HTTP/1 specific.A-http2Area: HTTP/2 specific.Area: HTTP/2 specific.A-serverArea: server.Area: server.B-breaking-changeBlocked: this is an "API breaking change".Blocked: this is an "API breaking change".C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.