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.

what you recommend..

See original GitHub issue

To use, with follow-redirects counter-part in the browser?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
RubenVerborghcommented, Feb 28, 2020

You may use same algorithms to do redirect:manual i guess…

Mmm yes, but probably with some limitations. In any case, there’s no need for the library in the browser; quite the contrary, it’s bringing browser functionality to Node.

Here you can read advice for how to exclude the library for browser builds: https://github.com/follow-redirects/follow-redirects/tree/670c3a7b38e0707a22d111fa766b4e82d277ec41#browser-usage

0reactions
determin1stcommented, Feb 28, 2020

redirect The redirect mode to use: follow (automatically follow redirects), error (abort with an error if a redirect occurs), or manual (handle redirects manually). In Chrome the default is follow (before Chrome 47 it defaulted to manual).

It’s from fetch() definition

You may use same algorithms to do redirect:manual i guess…

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the difference between "what do you recommend? ...
"What would you recommend?" Is slightly more formal/polite. Almost no difference. What "would" you recommend -- sounds slightly more polite.
Read more >
English Phrase: (Which/What) would you recommend?
You usually use "which" when asking for the best out of 2 things, and "what" when asking about a larger group of choices....
Read more >
"Recommend you to" vs. "recommend that you"
The verb recommend always takes either a noun object or a subordinate clause as a complement, never an infinitive. Save this answer.
Read more >
what do you suggest or what do you recommend?
A waiter, asked for a suggestion, would always answer with a recommendation, and would never say any of the other things they could...
Read more >
'What would you recommend me to do' is correct.
Would you recommend someone learn computing in a class with a skilled teacher, or just by trying to teach themselves?
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