diff options
Diffstat (limited to 'ext/fetch/22_http_client.js')
-rw-r--r-- | ext/fetch/22_http_client.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/fetch/22_http_client.js b/ext/fetch/22_http_client.js index 061a3dda8..e1389bbe1 100644 --- a/ext/fetch/22_http_client.js +++ b/ext/fetch/22_http_client.js @@ -25,7 +25,12 @@ const { ObjectDefineProperty } = primordials; */ function createHttpClient(options) { options.caCerts ??= []; - const keyPair = loadTlsKeyPair("Deno.createHttpClient", options); + const keyPair = loadTlsKeyPair( + options.cert, + undefined, + options.key, + undefined, + ); return new HttpClient( op_fetch_custom_client( options, |