-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Use constants for header names #1933
Conversation
Making the header name constant seems reasonable, but making them associated constants for |
I actually don't agree, we convert these headers in Status and its good to encapsulate the encoding portion of these header names within the status.rs. So to me this makes sense. Metadata is much more abstract than specific extraction of headers. In addition, the metadata shouldn't contain the status headers etc that should all be extracted from the Status functions. |
I understand that the abstraction of metadata is a high level one. Then, I think it's fine to use Status's associated constants, considering that these will be |
Made them |
No description provided.