about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/io/request.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/request.nim b/src/io/request.nim
index 72631bed..ce42c61b 100644
--- a/src/io/request.nim
+++ b/src/io/request.nim
@@ -177,7 +177,7 @@ func newRequest*(url: URL, httpmethod = HTTP_GET, headers: seq[(string, string)]
   for pair in headers:
     let (k, v) = pair
     hl.table[k] = @[v]
-  return newRequest(url, httpmethod, hl, body, mode)
+  return newRequest(url, httpmethod, hl, body, mode, proxy = proxy)
 
 func createPotentialCORSRequest*(url: URL, destination: RequestDestination, cors: CORSAttribute, fallbackFlag = false): Request =
   var mode = if cors == NO_CORS: