You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading httpx from version 0.27.2 to 0.28.1, tests using the FastAPI test client are failing due to changes in how the URL object handles params during construction.
Issue Description
After upgrading
httpx
from version0.27.2
to0.28.1
, tests using the FastAPI test client are failing due to changes in how theURL
object handlesparams
during construction.The issue was traced to the following code:
Version 0.27.2:
Version 0.28.1:
In
httpx
0.28.1, passingparams=None
orparams=[]
to theURL
constructor causes query parameters to be removed from the URL.The text was updated successfully, but these errors were encountered: