feat(headers): Parse Upgrade header protocols further
Parses protocols into a name and a value part matching the RFC. An enum contains all registered or known protocols, but contains an extension variant. Closes #480 BREAKING CHANGE: Upgrade header Protocol changed.
This commit is contained in:
		| @@ -42,7 +42,7 @@ pub use self::referer::Referer; | ||||
| pub use self::server::Server; | ||||
| pub use self::set_cookie::SetCookie; | ||||
| pub use self::transfer_encoding::TransferEncoding; | ||||
| pub use self::upgrade::{Upgrade, Protocol}; | ||||
| pub use self::upgrade::{Upgrade, Protocol, ProtocolName}; | ||||
| pub use self::user_agent::UserAgent; | ||||
| pub use self::vary::Vary; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user