about summary refs log tree commit diff stats
path: root/src/display/client.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-07-01 23:31:39 +0200
committerbptato <nincsnevem662@gmail.com>2023-07-01 23:36:15 +0200
commit51da99365959f4fd35cef7b5f8f919386f2cf4ca (patch)
tree224426e877284c6199afa84291f07e530693f381 /src/display/client.nim
parent2f74b628f3c91860860cc19fc07db5c304e8e6ed (diff)
downloadchawan-51da99365959f4fd35cef7b5f8f919386f2cf4ca.tar.gz
Factor out headers into separate module
Diffstat (limited to 'src/display/client.nim')
-rw-r--r--src/display/client.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/display/client.nim b/src/display/client.nim
index 3f4039df..2f99a7d5 100644
--- a/src/display/client.nim
+++ b/src/display/client.nim
@@ -23,6 +23,7 @@ import display/pager
 import display/term
 import html/dom
 import html/htmlparser
+import io/headers
 import io/lineedit
 import io/loader
 import io/posixstream
@@ -587,6 +588,7 @@ proc newClient*(config: Config, dispatcher: Dispatcher): Client =
   ctx.addIntlModule()
   ctx.addBlobModule()
   ctx.addFormDataModule()
+  ctx.addHeadersModule()
   ctx.addRequestModule()
   ctx.addResponseModule()
   ctx.addLineEditModule()