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
Currently DummyResponse only accepts url and request arguments. But the replace method (inherited from Response) passes all the attributes to __init__, which causes an exception.
I think we should support response.replace, because some middlewares might want to call it, and they expect it to work.
Most likely, a fix is a matter of removing DummyResponse.__init__ method.
The text was updated successfully, but these errors were encountered:
Currently DummyResponse only accepts url and request arguments. But the
replace
method (inherited from Response) passes all the attributes to__init__
, which causes an exception.I think we should support response.replace, because some middlewares might want to call it, and they expect it to work.
Most likely, a fix is a matter of removing
DummyResponse.__init__
method.The text was updated successfully, but these errors were encountered: