about summary refs log tree commit diff stats
path: root/src/loader/request.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/request.nim')
-rw-r--r--src/loader/request.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/loader/request.nim b/src/loader/request.nim
index 05b02114..60632041 100644
--- a/src/loader/request.nim
+++ b/src/loader/request.nim
@@ -81,6 +81,10 @@ type
     # when set to true, the loader will not write data from the body (not
     # headers!) into the output until a resume is received.
     suspended*: bool
+    # if defaultHeadersSet is set, then loader will not set default headers
+    # for the request if it was received from the pager. (this is used when
+    # starting requests for new buffers.)
+    defaultHeadersSet*: bool
 
 jsDestructor(Request)