Extend options param to accept options that can be forwarded to http/https request
See original GitHub issueIt would be great if the current options accepted another value that could forward options to the internal http.request call. Specifically I’m looking to use the insecureHTTPParser
param to work around this issue.
So something like:
fetch(url, { extraHttpOptions: { insecureHTTPParser: true } });
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:18 (9 by maintainers)
Top Results From Across the Web
OPTIONS - HTTP - MDN Web Docs
The HTTP OPTIONS method requests permitted communication options for a given URL or server. A client can specify a URL with this method, ......
Read more >HTTP/1.1: Header Field Definitions
Accept headers can be used to indicate that the request is specifically limited to a small set of desired types, as in the...
Read more >RFC 7239: Forwarded HTTP Extension
Further, each parameter should be configured individually. "Forwarded" is only for use in HTTP requests and is not to be used in HTTP...
Read more >Advanced Usage — Requests 2.28.1 documentation
First, you are constructing a Request object which will be sent off to a ... We can take advantage of the Requests OPTIONS...
Read more >Set-CalendarProcessing (ExchangePowerShell)
Some parameters and settings may be exclusive to one environment or the other. ... cmdlet to modify calendar processing options for resource mailboxes, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note for those who’s looking for
insecureHTTPParser
option in 2.x. This option is released in 3.x and requires your project to be updated to support ESM.Amazing. Thanks for the effort put into this!