Skip to content

Conversation

@pyfisch
Copy link
Contributor

@pyfisch pyfisch commented May 2, 2015

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.

Copy link
Member

Choose a reason for hiding this comment

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

This does pattern matching, which will skip UniCase::eq.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's true, if let is not needed anyway here.

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.
@pyfisch
Copy link
Contributor Author

pyfisch commented May 3, 2015

Updated.

seanmonstar added a commit that referenced this pull request May 4, 2015
feat(headers): Parse Upgrade header protocols further
@seanmonstar seanmonstar merged commit 33146bd into hyperium:master May 4, 2015
@pyfisch pyfisch deleted the upgradeprotocol branch May 16, 2015 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reminder: Upgrade header Protocols should support version

2 participants