I use scrapy-splash to build my spider. Now what I need is to maintain the session, so I use the scrapy.downloadermiddlewares.cookies.CookiesMiddleware and it handles the set-cookie header. I know it handles the set-cookie header because i set COOKIES_DEBUG=True and this causes the printouts by CookeMiddleware regarding set-cookie header.
The problem: when I also add Splash to the picture the set-cookie printouts disappear, and in fact what I get as response headers is {'Date': ['Sun, 25 Sep 2016 12:09:55 GMT'], 'Content-Type': ['text/html; charset=utf-8'], 'Server': ['TwistedWeb/16.1.1']} Which is related to splash rendering engine which uses TwistedWeb.
Is there any directive to tell the splash also to give me the original response headers?