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

Add helpers to use popular header values #38

Open
deniaa opened this issue Aug 17, 2022 · 0 comments
Open

Add helpers to use popular header values #38

deniaa opened this issue Aug 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@deniaa
Copy link
Member

deniaa commented Aug 17, 2022

We have a HeaderNames class with a list of popular header names. Sometimes we want to type .WithContentTypeHeader("application/json") and it's better to use something like .WithContentTypeHeader(HeaderValues.ApplicationJson) to avoid stupid typos and other mistakes.

@deniaa deniaa added the enhancement New feature or request label Aug 17, 2022
@deniaa deniaa changed the title Add helpers to using popular header values Add helpers to use popular header values Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant