move to urllib3 instead of requests #29

Merged
Barbagus merged 2 commits from urllib3 into stable 2023-02-14 08:11:23 +00: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.
Barbagus added 1 commit 2023-02-13 08:40:23 +00:00
a108135141 Use `urllib3` instead of `requests`
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 added 1 commit 2023-02-13 17:45:11 +00:00
Barbagus changed title from WIP: move to `urllib3` instead of `requests` to move to `urllib3` instead of `requests` 2023-02-14 08:11:10 +00:00
Barbagus merged commit 23e2183c93 into stable 2023-02-14 08:11:23 +00:00
Barbagus deleted branch urllib3 2023-02-14 08:11:23 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
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.