by Dolores12 · 7y ago · 0 comments
.net HttpClient is based on outdated cookies RFC, RFC6265(that is 8 years old) is yet to be supported [1]. And what can you do today without good http library?
This RFC seems to be all about rejecting certain cookies under some very specific security rules. How impactful is this really? Is this affecting your app somehow?
How does a lack of support for an RFC (which is still being revised) that outlines where a cookie should not be accepted in edge cases mean the HTTP library is not modern? Where are you running into this issue in a real app?
I had discovered few bugs in cookies handling myself, compared behavior to competitors and moved on. If cookies handling is not enough, i came across inconsistent behavior on different platforms: on Windows it uses WinHttpHandler, on Linux its curl lib(if i remember correctly). And they both handle edge cases differently.
A.) Not even stdlib
and
B.) Doesn't support async/await
Is an odd choice.
1) Dapper - https://github.com/StackExchange/Dapper
2) DbUp - https://dbup.readthedocs.io/en/latest/
3) Autofac - https://autofac.org/
The Kestrel source code expanded my view of what was possible in C# with respect to low level operations on memory (check out the fixed statement [2]).
A part of me doesn't want to like Microsoft because of their anti-competitive behavior in the past and crappy developer experiences from 10 years ago. Now, I sound like a Microsoft shill because of how good .NET core is.
[1] https://github.com/restsharp/RestSharp
[2] https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
It sounds like you're picking on a strange issue to disparage .NET without any real experience in it.