We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
?
1 parent 365b053 commit f5965d8Copy full SHA for f5965d8
requests_unixsocket/settings.py
@@ -13,9 +13,12 @@ def __init__(self, urlparse=None):
13
14
def default_urlparse(url):
15
parsed_url = urlparse(url)
16
+ reqpath = parsed_url.path
17
+ if parsed_url.query:
18
+ reqpath += '?' + parsed_url.query
19
return Settings.ParseResult(
20
sockpath=unquote(parsed_url.netloc),
- reqpath=parsed_url.path + '?' + parsed_url.query,
21
+ reqpath=reqpath,
22
)
23
24
0 commit comments