-
-
Notifications
You must be signed in to change notification settings - Fork 959
Better HTTP(S) Request options documentation #1306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes. It's time to do that. We should take the opportunity to see if any of the |
I think this should be done in 2 steps. |
That sounds like a good plan. |
I updated the first message with a list of all the options taken by |
We can't pass ciphers anymore? ;( I really don't find how to do this now |
We broke the definition of the So, in got 11, you can do something like this got('https://example.org', {
ciphers: '...'
} as any); The |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Issued #1364 to add support for the TLS option |
This comment has been minimized.
This comment has been minimized.
https://github.com/Giotino/got/tree/https-tests I adapted the tests from #1435.
Other options are a little bit tricky to test. |
Great! Can you submit a PR? |
What would you like to discuss?
Since we made some modification to the
options
, this statementfrom the documentation is no more valid.
Maybe the individual
https.Request
options should be documented on the got page.Node.JS options (checked ones are those already documented by Got)
From
http.request
From
tls.createSecureContext
(documentedhttps.request
)pfx
HTTPS option #1364)From
tls.createSecureContext
(but undocumented inhttps.request
)The text was updated successfully, but these errors were encountered: