Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.5.0 — Custom headers and decoding metadata
- **Bugfix**: Fix parsing of "true" `data-core-metadata` attributes and handling of the attribute's absence (contributed by [@thatch](https://github.com/thatch)) - `DistributionPackage.has_metadata` will now be `None` if this attribute was absent in the HTML returned by PyPI. Previously, it would be `False` under this circumstance. - Added `PyPISimple.get_package_metadata_bytes()` (contributed by [@thatch](https://github.com/thatch)) - `PyPISimple.get_package_metadata()` now always decodes responses as UTF-8 (contributed by [@thatch](https://github.com/thatch)) - Request methods now take optional `headers` arguments (contributed by [@thatch](https://github.com/thatch))
- Loading branch information