Skip to content

Commit 609df7e

Browse files
authored
Reintroduce URLTypes. (#3288)
1 parent 1d6b663 commit 609df7e

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## 0.27.2 (27th August, 2024)
8+
9+
### Fixed
10+
11+
* Reintroduced supposedly-private `URLTypes` shortcut. (#2673)
12+
713
## 0.27.1 (27th August, 2024)
814

9-
## Added
15+
### Added
1016

1117
* Support for `zstd` content decoding using the python `zstandard` package is added. Installable using `httpx[zstd]`. (#3139)
1218

httpx/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__title__ = "httpx"
22
__description__ = "A next generation HTTP client, for Python 3."
3-
__version__ = "0.27.1"
3+
__version__ = "0.27.2"

httpx/_types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
],
4444
)
4545

46+
URLTypes = Union["URL", str]
47+
4648
QueryParamTypes = Union[
4749
"QueryParams",
4850
Mapping[str, Union[PrimitiveData, Sequence[PrimitiveData]]],

0 commit comments

Comments
 (0)