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

proper usage of requests.sessions #51

Merged
merged 1 commit into from
Mar 15, 2024
Merged

proper usage of requests.sessions #51

merged 1 commit into from
Mar 15, 2024

Conversation

flbraun
Copy link
Owner

@flbraun flbraun commented Mar 15, 2024

properly use request's Session instances to avoid creating a new connection for every HTTP request to frequently used services (poe.ninja and the wiki).
use a descriptive user agent for requests to those services by default so they can identify the traffic from poe-palette.

properly use request's `Session` instances to avoid creating a new connection for every HTTP request to frequently used services (poe.ninja and the wiki).
use a descriptive user agent for requests to those services by default so they can identify the traffic from poe-palette.
@flbraun flbraun added the ignore-for-release Do not include in release notes label Mar 15, 2024
@flbraun flbraun merged commit 8da0764 into master Mar 15, 2024
2 checks passed
@flbraun flbraun deleted the use-sessions branch March 15, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release Do not include in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant