-
-
Notifications
You must be signed in to change notification settings - Fork 2
Make the url resolving configurable #279
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
Conversation
|
This pull request introduces 24 alerts when merging d5aac5c into 510cdf2 - view on LGTM.com new alerts:
|
|
This pull request introduces 23 alerts when merging 14742e8 into 510cdf2 - view on LGTM.com new alerts:
|
76c6836 to
44a25cf
Compare
|
Fixed the linting errors and what not. |
|
Thanks for your PR @icidasset. I am sorry, I am very busy at the moment.
I need to fix that, now the unit tests are in the dark. I had quick look, did not figure it out yet. |
|
No worries, no rush at all! 😉 |
|
The This URL is then used by the ranged GET request. In case the HTTP |
|
Oh yeah for sure, I know why it is there and how it works, because I was the person who added it in the first place 😄 It was indeed added to prevent the following of redirects multiple times. But I noticed that with some services/servers/apis those redirect chains are necessary, hence this PR to make it optional. I hope that clears things up 😉 Let me know if you have any other questions. PS. Marked in bold the reason it was failing for me. |
Ah, okay, LoL. All clear now. The configuration options need to be documented: #357. |
|
Part of v0.6.0 |
|
Thank you @Borewit ! 🙏 |
Hey @Borewit 👋
I hope you're doing well.
This isn't urgent at all, so for whenever you can get to this.
I noticed a few edge cases with the url resolving, so I figured that it'd be better to make this optional (ie. configurable). In my case specifically, I had a service worker that acted on a specific type of url. What happened was that the tokenizer here cached the resolved url, which normally would be great, but now the service worker was skipped. So this caused an issue in my code, because I don't know about the resolved url in my service worker.
Anyhow long story short, after some thought, I think it's better to make this optional.