From 75a33dc78b7bd3e0312604171e233ee22c2b7473 Mon Sep 17 00:00:00 2001 From: Maria <151918615+MariaCodesXoXo@users.noreply.github.com> Date: Sat, 27 Dec 2025 18:32:34 +0300 Subject: [PATCH] Update client.py solving the username/password authorization issue --- httpie/client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/httpie/client.py b/httpie/client.py index a1da284a7c..f4864ff583 100644 --- a/httpie/client.py +++ b/httpie/client.py @@ -6,6 +6,11 @@ from time import monotonic from typing import Any, Dict, Callable, Iterable from urllib.parse import urlparse, urlunparse +from urllib.parse import unquote + +username = unquote(username) +password = unquote(password) + import requests # noinspection PyPackageRequirements