diff --git a/aioresponses/core.py b/aioresponses/core.py index a22fad6..6346ecf 100644 --- a/aioresponses/core.py +++ b/aioresponses/core.py @@ -155,6 +155,7 @@ def _build_response(self, url: 'Union[URL, str]', url=url, method=method, headers=CIMultiDictProxy(CIMultiDict(**request_headers)), + real_url=url ) kwargs['writer'] = None kwargs['continue100'] = None