mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* System.Net.Policy/CrossDomainPolicyManager.cs: Use InternalHeaders, instead of Headers, since we always use the browser stack to download the security policies. * System.Net/WebClient_2_1.cs: Throw a NotImplementedException from ResponseHeaders if the response does not support them. * System.Net/WebResponse_2_1.cs: Make Headers property smart to throw a NotImplementedException if SupportsHeaders return false. Add a new InternalHeaders property since the response headers are needed, internally (e.g. policies), even if not exposed to the outside world.