UseUnsafeHeaderParsing parameter in .Net Core

I used this parameter in the full .Net structure to deal with some insecure headers returned by the server I am accessing.

<system.net> <settings> <httpWebRequest useUnsafeHeaderParsing="true" /> </settings> <system.net> 

I cannot find a way to do the same in the .Net kernel. (console application)

Any help?

+5
source share

Source: https://habr.com/ru/post/1265726/


All Articles