Skip to content
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

Use make_client instead of calling HTTP::Client #4709

Merged
merged 7 commits into from
Nov 8, 2024

Conversation

syeopite
Copy link
Member

This PR is mostly so that we can customize the client Invidious uses for all HTTP requests. For example, to config a HTTP proxy to use.

I left images.cr untouched as to not conflict with #4326

@syeopite syeopite requested a review from a team as a code owner May 22, 2024 20:13
@syeopite syeopite requested review from unixfox and removed request for a team May 22, 2024 20:13
syeopite and others added 7 commits August 24, 2024 19:34
Using `make_client` to create `HTTP::Client`, allows for a simple way to
easily add logic to all `HTTP::Client` initialized within Invidious.
Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
@SamantazFox SamantazFox added the need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something label Aug 26, 2024
@SamantazFox SamantazFox added in-testing This feature has been deployed and is being tested and removed need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something labels Oct 30, 2024
@SamantazFox SamantazFox added ready and removed in-testing This feature has been deployed and is being tested labels Nov 7, 2024
@SamantazFox SamantazFox merged commit 42da254 into iv-org:master Nov 8, 2024
7 of 8 checks passed
@syeopite syeopite deleted the use-make-client branch November 8, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants