From 5ba7ef4c0f5ef9ae1d7d1057ae51e64ea37e7896 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Sat, 12 Apr 2025 20:58:21 +0100 Subject: [PATCH] Allow custom HTTP headers https://github.com/nanoframework/Home/issues/1618 --- nanoFramework.System.Net.Http/Http/Headers/HttpHeaders.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanoFramework.System.Net.Http/Http/Headers/HttpHeaders.cs b/nanoFramework.System.Net.Http/Http/Headers/HttpHeaders.cs index 5bc064ed..920ed72d 100644 --- a/nanoFramework.System.Net.Http/Http/Headers/HttpHeaders.cs +++ b/nanoFramework.System.Net.Http/Http/Headers/HttpHeaders.cs @@ -30,7 +30,7 @@ public HeaderEntry( /// public abstract class HttpHeaders { - internal WebHeaderCollection _headerStore = new WebHeaderCollection(true); + internal WebHeaderCollection _headerStore = new WebHeaderCollection(false); private readonly HttpHeaderType _allowedHeaderTypes; private readonly HttpHeaderType _treatAsCustomHeaderTypes;