diff options
author | bptato <nincsnevem662@gmail.com> | 2023-04-30 20:56:21 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-04-30 20:56:21 +0200 |
commit | 90d10281be21c174e0f1528a7d893e126c78a405 (patch) | |
tree | e2ce74542770e35a29f3e5940c9a0ac53fad9832 /src | |
parent | 5697627af260aba5c44ef3156dd0b1d53229f8e0 (diff) | |
download | chawan-90d10281be21c174e0f1528a7d893e126c78a405.tar.gz |
Actually set proxy
Diffstat (limited to 'src')
-rw-r--r-- | src/io/request.nim | 2 |
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: |