(self, url: URL)
| 232 | return self._trust_env |
| 233 | |
| 234 | def _enforce_trailing_slash(self, url: URL) -> URL: |
| 235 | if url.raw_path.endswith(b"/"): |
| 236 | return url |
| 237 | return url.copy_with(raw_path=url.raw_path + b"/") |
| 238 | |
| 239 | def _get_proxy_map( |
| 240 | self, proxy: ProxyTypes | None, allow_env_proxies: bool |