Browse Source

* Headers default on headers object

Michael Van Canneyt 11 months ago
parent
commit
77490ff695
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/src/weborworker.pas

+ 1 - 1
packages/rtl/src/weborworker.pas

@@ -350,7 +350,7 @@ type
     function keys : TJSIterator; reintroduce;
     function values : TJSIterator; reintroduce;
     procedure set_(aName, aValue : String);
-    Property Headers[aName : string] : string Read Get Write Set_;
+    Property Headers[aName : string] : string Read Get Write Set_; default;
   end;
 
   TJSResponseInit = class external name 'Object'