-
-
Notifications
You must be signed in to change notification settings - Fork 360
Typed Headers? #264
Copy link
Copy link
Open
Labels
A-headersArea: HTTP headersArea: HTTP headersB-rfcBlocked: request for comments. More discussion would help move this along.Blocked: request for comments. More discussion would help move this along.S-featureSeverity: feature. This adds something new.Severity: feature. This adds something new.
Metadata
Metadata
Assignees
Labels
A-headersArea: HTTP headersArea: HTTP headersB-rfcBlocked: request for comments. More discussion would help move this along.Blocked: request for comments. More discussion would help move this along.S-featureSeverity: feature. This adds something new.Severity: feature. This adds something new.
Work has been progressing on a typed headers system to replace what hyper had prior to v0.12. Some questions arise as to where this stuff should "live".
headerscrate name, and has agreed to transfering the name if we wish to use it for this.http-headerscrate name, and has suggested we could publish there, as the nameheadersmight be too vague.http.let conlen = http::header::ContentLength(450);, and perhaps it should be the eventual goal.httpwas to have a stable crate that the ecosystem can use to be "generic" over HTTP implementations. Therefore, breaking changes must be exceptional. I have taken much effort to reduce the exposed surface area in the new crate API, specifically to reduce the need for breaking changes. Still, I would have to have missed something and be stuck with it.httpAPI could be moved tohttp-coreand re-exported, and have the stability be stronger onhttp-corethanhttp.See also #136.