Pradyun Gedam
|
58c594c06b
|
Prepare isort for black
|
2020-09-23 21:47:47 +05:30 |
Pradyun Gedam
|
25ab172b55
|
Update linter: isort
|
2020-09-23 19:52:28 +05:30 |
Noah Gorny
|
aae63795b2
|
reqfile: Update extra-index-url/index-url in session from requirements file
Also update the relevant tests
|
2020-08-06 19:25:31 +03:00 |
Noah Gorny
|
544c307ebf
|
session: Always cache responses from trusted-host source
news: Add news about default behaviour change
|
2020-03-26 21:29:18 +02:00 |
Noah Gorny
|
65a9bec7a4
|
session: Add InsecureCacheControlAdapter
|
2020-03-26 21:15:38 +02:00 |
Noah Gorny
|
c936ed0165
|
session: Rename _insecure_adapter to _trusted_host_adapter
Currently it is just the insecure adapter, but this can change in the future
|
2020-03-26 21:15:38 +02:00 |
Noah Gorny
|
f1a8bd4ad6
|
session: Fix comment about add_insecure_host, rename to add_trusted_host
|
2020-03-26 21:15:38 +02:00 |
Stéphane Bidoul (ACSONE)
|
1ee270a8d4
|
Check that the cache is writable in _main()
This avoid code duplication (for the wheel and http
cache) and repeated warnings.
|
2019-12-28 13:04:54 +01:00 |
Chris Hunt
|
355c303e12
|
Lazy evaluate has_tls result
This avoids an unnecessary unconditional import of ssl and urllib3 in
compat.
|
2019-12-09 20:48:58 +08:00 |
Chris Hunt
|
f4e40d7a09
|
Wrap HAS_TLS in a function
Next we'll refactor the value to be computed lazily.
|
2019-12-09 20:48:58 +08:00 |
Chris Hunt
|
143608bd14
|
Remove manual decoding in network.session in favor of six method
|
2019-11-10 17:56:59 -05:00 |
Chris Hunt
|
3125c32696
|
Send client cert when using InsecureHTTPAdapter
|
2019-11-03 17:05:58 -05:00 |
Chris Hunt
|
f315671572
|
Move urllib3 warning suppression to network.session
This is only relevant for our usage of --trusted-host, so it is enough
to initialize it in network.session.
|
2019-10-06 22:31:49 -04:00 |
Maxim Kurnikov
|
3692097cca
|
add per-file disallow_untyped_defs=False, and set it to True globally
|
2019-09-29 23:31:15 +02:00 |
Chris Hunt
|
c40331e824
|
Add docstring to network.session
|
2019-09-27 01:05:24 -04:00 |
Chris Hunt
|
3328e811d1
|
Normalize style
|
2019-09-27 01:03:47 -04:00 |
Chris Hunt
|
cf7ebdbbc2
|
Move PipSession to network.session
|
2019-09-27 01:02:52 -04:00 |
Chris Hunt
|
6ce7217a53
|
Move PipSession helper functions to network.session
This new module is a catch-all for PipSession helpers.
|
2019-09-27 00:55:06 -04:00 |