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
Both an empty string '' and an empty list [] are not of NoneType and are considered a falsy value and therefore should behave the same when being added as a URL parameter. But in requests when passing an empty string '' as a parameter value the final URL contains the parameter but not when an empty list [] is passed as the value.
Expected Result
When passing an empty list as parameter value, the final URL should contain the parameter.
Actual Result
When passing an empty list as parameter value, the final URL does not contain the parameter.
Both an empty string
''
and an empty list[]
are not of NoneType and are considered a falsy value and therefore should behave the same when being added as a URL parameter. But in requests when passing an empty string''
as a parameter value the final URL contains the parameter but not when an empty list[]
is passed as the value.Expected Result
When passing an empty list as parameter value, the final URL should contain the parameter.
Actual Result
When passing an empty list as parameter value, the final URL does not contain the parameter.
Reproduction Steps
System Information
The text was updated successfully, but these errors were encountered: