hyperium / http

Rust HTTP types
Apache License 2.0
1.16k stars 289 forks source link

refactor: rename header and types to field #557

Open neoeinstein opened 2 years ago

neoeinstein commented 2 years ago

This is in matching with the new HTTP Semantics RFC 9110.

This PR is in draft form. The type renaming and creation of deprecated aliases has been done and compiles, but documentation, usage, and variable names will need to be updated to identify fields and make it more undertandable that fields includes both headers and trailers.

Presuming that deprecation warnings are not considered build failures in downstream builds, this should not be a breaking change.