Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse header compact forms #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kognise
Copy link

@kognise kognise commented Jun 15, 2024

RFC 3261 Section 7.3.3 Compact Form specifies that several headers have single-character compact names, and:

Implementations MUST accept both the long and short forms of each header name.

A total of 10 compact forms are defined by the specification:

Header Compact Form
Call-ID i
Contact m
Content-Encoding e
Content-Length l
Content-Type c
From f
Subject s
Supported k
To t
Via v

This PR adds support for parsing them. Should be an easy review :)

Thanks for the great crate!

@hkrutzer
Copy link

FYI the library author writes here that it is being developed in a closed source manner now.

@kognise
Copy link
Author

kognise commented Jun 29, 2024

thanks! that's a shame but i hope it's open sourced eventually!

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.

2 participants