question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extend options param to accept options that can be forwarded to http/https request

See original GitHub issue

It 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:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
dobromyslovcommented, Dec 20, 2021

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.

3reactions
jamiechongcommented, Jun 11, 2020

Amazing. Thanks for the effort put into this!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found