diff --git a/nvchecker/httpclient/httpx_httpclient.py b/nvchecker/httpclient/httpx_httpclient.py index 6604727..412eccb 100644 --- a/nvchecker/httpclient/httpx_httpclient.py +++ b/nvchecker/httpclient/httpx_httpclient.py @@ -49,7 +49,8 @@ async def request_impl( method, url, json = json, content = body, headers = headers, follow_redirects = follow_redirects, - params = params, + # httpx checks for None but not () + params = params or None, ) err_cls: Optional[type] = None if r.status_code >= 500: