move to urllib3 instead of requests #29

Merged
Barbagus merged 2 commits from urllib3 into stable 2023-02-14 09:11:23 +01:00
Collaborator

HTTP features used by the program today are the one provided by requests underlying urllib3 library, namely:

  • connection pooling
  • content decoding

We do not use, and most probably will not use other features. Plus, the whole timeout argument propagation "thing" about requests is annoying to me.

HTTP features used by the program today are the one provided by `requests` underlying `urllib3` library, namely: - connection pooling - content decoding We do not use, and most probably will not use other features. Plus, the whole `timeout` argument propagation "thing" about `requests` is annoying to me.
We were not (and probably wont be ) using any worthwhile `requests`
features (beside `raise_for_status()`) and the `timeout` session
parameter propagation vs adapter plugging "thing" in requests just
annoys me deeply (not that kind of "... Human (TM)")
Barbagus changed title from WIP: move to urllib3 instead of requests to move to urllib3 instead of requests 2023-02-14 09:11:10 +01:00
Barbagus merged commit 23e2183c93 into stable 2023-02-14 09:11:23 +01:00
Barbagus deleted branch urllib3 2023-02-14 09:11:23 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fcode/delarte!29
No description provided.