From e0930fcb0042ad50c12dd734651f157ebd042e76 Mon Sep 17 00:00:00 2001 From: volodymyrb Date: Thu, 1 Dec 2022 18:13:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Updated=20usage=20of=20Port=20en?= =?UTF-8?q?um?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- docs/index.md | 2 +- urlx/url.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e242db0..b6a7923 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ from urlx import Url, Protocol, Port url = Url( protocol=Protocol.HTTPS, host='localhost', - port=Port.HTTPS, + port=Port.HTTPS_443, path=Path('api/user-list'), query={ 'limit': '100', diff --git a/docs/index.md b/docs/index.md index dd9a2ea..29f51d2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -55,7 +55,7 @@ from urlx import Url, Protocol, Port url = Url( protocol=Protocol.HTTPS, host='localhost', - port=Port.HTTPS, + port=Port.HTTPS_443, path=Path('api/user-list'), query={ 'limit': '100', diff --git a/urlx/url.py b/urlx/url.py index 33f7529..ceddbe7 100644 --- a/urlx/url.py +++ b/urlx/url.py @@ -284,7 +284,7 @@ def __repr__(self) -> str: url = Url( protocol=Protocol.HTTPS, host='localhost', - port=Port.HTTPS, + port=Port.HTTPS_443, path=Path('api/user-list'), query={ 'limit': '100',