Reenable test hhtps
This commit is contained in:
parent
834de413d9
commit
2f6a605aa2
|
@ -41,9 +41,15 @@ const
|
|||
proc new(
|
||||
T: type RpcHttpClient, maxBodySize = MaxHttpRequestSize, secure = false,
|
||||
getHeaders: GetJsonRpcRequestHeaders = nil, flags: HttpClientFlags = {}): T =
|
||||
|
||||
var moreFlags: HttpClientFlags
|
||||
if secure:
|
||||
moreFlags.incl HttpClientFlag.NoVerifyHost
|
||||
moreFlags.incl HttpClientFlag.NoVerifyServerName
|
||||
|
||||
T(
|
||||
maxBodySize: maxBodySize,
|
||||
httpSession: HttpSessionRef.new(flags = flags),
|
||||
httpSession: HttpSessionRef.new(flags = flags + moreFlags),
|
||||
getHeaders: getHeaders
|
||||
)
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ import
|
|||
testrpcmacro,
|
||||
testethcalls,
|
||||
testhttp,
|
||||
testhttps,
|
||||
testserverclient,
|
||||
testproxy,
|
||||
testhook,
|
||||
|
|
Loading…
Reference in New Issue