about summary refs log tree commit diff stats
path: root/src/html/env.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/env.nim')
-rw-r--r--src/html/env.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/env.nim b/src/html/env.nim
index 09cf1c5c..174f0a12 100644
--- a/src/html/env.nim
+++ b/src/html/env.nim
@@ -3,6 +3,7 @@ import streams
 
 import html/dom
 import html/htmlparser
+import io/headers
 import io/loader
 import io/promise
 import io/request
@@ -123,6 +124,7 @@ proc addScripting*(window: Window, selector: Selector[int]) =
   ctx.addIntlModule()
   ctx.addBlobModule()
   ctx.addFormDataModule()
+  ctx.addHeadersModule()
   ctx.addRequestModule()
   ctx.addResponseModule()