dodyg / practical-aspnetcore

Practical samples of ASP.NET Core 9 RC2, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
MIT License
9.19k stars 1.18k forks source link

microsoft.net.http.headers #261

Open dodyg opened 3 years ago

dodyg commented 3 years ago

https://docs.microsoft.com/en-us/dotnet/api/microsoft.net.http.headers?view=aspnetcore-5.0

Joshimar1 commented 1 year ago

Hello @dodyg I would like to work on this issue. What would you like done?

dodyg commented 1 year ago

Check the existing samples regarding headers here https://github.com/dodyg/practical-aspnetcore/tree/net6.0/projects/request and compare it against the properties and methods on above link. Fill the missing gap with samples.

Joshimar1 commented 1 year ago

When you say fill in the gaps would that be adding to the HeaderNames as shown?

Github screenshot

dodyg commented 1 year ago

No, it's more about the properties and methods in this namespace https://learn.microsoft.com/en-us/dotnet/api/microsoft.net.http.headers?view=aspnetcore-5.0

In the namespace for example you find properties such as

CacheControlHeaderValue

MediaTypeHeaderValue

EntityTagHeaderValue

You can make simple samples out of these properties.