Update headers instead of overwriting them, so that we can pass Authentication headers through in Requests if desired (to configure authentication for our Splash instances on ScrapingHub).
Update headers instead of overwriting them, so that we can pass Authentication headers through in Requests if desired (to configure authentication for our Splash instances on ScrapingHub).

Turns out this can also be done with HttpAuthMiddleware, but I only realized later after writing up this fix.

scrapinghub/scrapyjs,lopuhin/scrapy-splash,scrapy-plugins/scrapy-splash,scrapinghub/scrapy-splash