about summary refs log tree commit diff stats
path: root/src/local
diff options
context:
space:
mode:
Diffstat (limited to 'src/local')
-rw-r--r--src/local/pager.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index 0a2b8e6b..4ef4b4de 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -517,8 +517,7 @@ proc newContainer(pager: Pager; bufferConfig: BufferConfig;
     contentType = none(string); charsetStack: seq[Charset] = @[];
     url = request.url; cacheId = -1; cacheFile = ""): Container =
   request.suspended = true
-  request.setupRequestDefaults(loaderConfig)
-  let stream = pager.loader.startRequest(request)
+  let stream = pager.loader.startRequest(request, loaderConfig)
   pager.loader.registerFun(stream.fd)
   let container = newContainer(
     bufferConfig,