Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix urlparse schemaless-behaviour on Python 3.9+ (#33289)
The urlparse stdlib call behaves differently on Python 3.9+ for schemaless-URLs. It parses string hostname into a schema instead of netloc. The issue is still open and discussed * psf/requests#6455 and apparently it will not be solved, so we need to workaround it if we still want to support legacy, schemaless URLs to be accepted by Elasticsearch handler. GitOrigin-RevId: dd73a0bffa6c4de93a2dd8dc4460b64aedc51255
- Loading branch information