File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const cacheForGET = new SafeMap();
47
47
/** @type {import('https').Agent } The Cached HTTP Agent for **secure** HTTP requests. */
48
48
let HTTPSAgent ;
49
49
/**
50
- * Make a **secure** HTTP GET request (handling agent setup if needed, caching the agent to avoid
50
+ * Make a HTTPs GET request (handling agent setup if needed, caching the agent to avoid
51
51
* redudant instantiations).
52
52
* @param {Parameters<import('https').get>[0] } input - The URI to fetch.
53
53
* @param {Parameters<import('https').get>[1] } options - See https.get() options.
@@ -66,10 +66,10 @@ function HTTPSGet(input, options) {
66
66
/** @type {import('https').Agent } The Cached HTTP Agent for **insecure** HTTP requests. */
67
67
let HTTPAgent ;
68
68
/**
69
- * Make a **insecure** HTTP GET request (handling agent setup if needed, caching the agent to avoid
69
+ * Make a HTTP GET request (handling agent setup if needed, caching the agent to avoid
70
70
* redudant instantiations).
71
- * @param {Parameters<import('https ').get>[0] } input - The URI to fetch.
72
- * @param {Parameters<import('https ').get>[1] } options - See http.get() options.
71
+ * @param {Parameters<import('http ').get>[0] } input - The URI to fetch.
72
+ * @param {Parameters<import('http ').get>[1] } options - See http.get() options.
73
73
*/
74
74
function HTTPGet ( input , options ) {
75
75
const http = require ( 'http' ) ; // [1]
You can’t perform that action at this time.
0 commit comments