Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Ability to work with client certificates #25

Open
zglozman opened this issue Jun 30, 2018 · 0 comments
Open

Ability to work with client certificates #25

zglozman opened this issue Jun 30, 2018 · 0 comments

Comments

@zglozman
Copy link

Right now in the request method the cert, key, and ca attribues are not copied.
In general it would be good to have control of the entitre options object, for agent setting proxies, etc. Let me know if u want to take care of it yourself or a via pull request

let reqOpts = {
url: baseUri.replace(//$/, '') + template(path, options.uriParameters),
json: !Buffer.isBuffer(options.body),
method,
headers,
formData: options.formData,
body: options.body,
qs: options.query,
options: options.options,
resolveWithFullResponse: true
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant