- info:
Patch ssl.match_hostname for Unicode(idna) domains support
Installation
pip install idna-ssl
Usage
from idna_ssl import patch_match_hostname # noqa isort:skip
patch_match_hostname() # noqa isort:skip
import asyncio
import aiohttp
URL = 'https://цфоут.мвд.рф/news/item/8065038/'
async def main():
async with aiohttp.ClientSession() as session:
async with session.get(URL) as response:
print(response)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Motivation
Here is 100% backward capability
Related aiohttp issue
Related Python bug
Related Python pull request
It is fixed (by January 27 2018) in upcoming Python 3.7, but IDNA2008 is still broken
Thanks
The library was donated by Ocean S.A.
Thanks to the company for contribution.
Metadata
Release files for idna_ssl 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| idna-ssl-1.1.0.tar.gz | 3.4 kB | Without provenance | Details for idna-ssl-1.1.0.tar.gz |
Release files / idna-ssl-1.1.0.tar.gz
| Download URL | idna-ssl-1.1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c
|
|
BLAKE2b-256 checksum How to use checksums |
460307c4894aae38b0de52b52586b24bf189bb83e4ddabfe2e2c8f2419eec6f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for idna_ssl 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.