I used to use this setting in the full .Net framework to deal with some unsafe headers returned by a server I'm reaching out to.
 <system.net>
    <settings>
      <httpWebRequest useUnsafeHeaderParsing="true" />
    </settings>
 <system.net>
I can't really find a way to do the same in .Net core. (console app)
Any help?
 
     
    