parent
92af223ab1
commit
06d4716579
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ proc newAsyncHttpClient*(userAgent = defUserAgent,
|
||||||
## ``sslContext`` specifies the SSL context to use for HTTPS requests.
|
## ``sslContext`` specifies the SSL context to use for HTTPS requests.
|
||||||
new result
|
new result
|
||||||
result.headers = newStringTable(modeCaseInsensitive)
|
result.headers = newStringTable(modeCaseInsensitive)
|
||||||
result.userAgent = defUserAgent
|
result.userAgent = userAgent
|
||||||
result.maxRedirects = maxRedirects
|
result.maxRedirects = maxRedirects
|
||||||
when defined(ssl):
|
when defined(ssl):
|
||||||
result.sslContext = sslContext
|
result.sslContext = sslContext
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue