dodyg/practical-aspnetcore

microsoft.net.http.headers

dodyg opened this issue · 4 comments

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

dodyg commented

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.

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

Github screenshot

dodyg commented

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.