-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
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.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers