From 1c4fe5910bd5d60ce3fd20d6de3afb4614cb3079 Mon Sep 17 00:00:00 2001 From: akpaevj Date: Fri, 2 Aug 2024 22:00:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF=D0=B0=20=D0=BA=20=D1=81?= =?UTF-8?q?=D0=B2=D0=BE=D0=B9=D1=81=D1=82=D0=B2=D1=83=20=D0=BA=D0=BE=D0=BB?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=86=D0=B8=D0=B8=20=D1=85=D0=B5=D0=B4=D0=B5?= =?UTF-8?q?=D1=80=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OneScript.Web.Server/HeaderDictionaryWrapper.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/OneScript.Web.Server/HeaderDictionaryWrapper.cs b/src/OneScript.Web.Server/HeaderDictionaryWrapper.cs index dd670942b..96c29a523 100644 --- a/src/OneScript.Web.Server/HeaderDictionaryWrapper.cs +++ b/src/OneScript.Web.Server/HeaderDictionaryWrapper.cs @@ -306,7 +306,7 @@ public override bool IsIndexed public override IValue GetIndexedValue(IValue index) { - if (!_items.TryGetValue(index.AsString(), out var result)) + if (_items.TryGetValue(index.AsString(), out var result)) return ValueFactory.Create(result); else return ValueFactory.Create(); @@ -318,16 +318,6 @@ public override void SetIndexedValue(IValue index, IValue val) _items[index.AsString()] = val.AsString(); } - public override bool IsPropReadable(int propNum) - { - return false; - } - - public override bool IsPropWritable(int propNum) - { - return false; - } - internal bool ContainsKey(IValue key) { return _items.ContainsKey(key.AsString());