Closed en-GB closed 2 years ago
When using *
we have to make sure that the german otto and zalando are still working, because I think they rely on the de
setting. In case of asos this won't be a problem, because I used spider-specific settings via custom_settings
see:
So maybe you can use the same approach in your spider for specifying a different Accept-Language
header?
Since this is actually documented here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language
It should work. However, we should test it ;) Does some one of you have capacity to test it? I'm currently testing zalando_fr
Since this is actually documented here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language It should work. However, we should test it ;) Does some one of you have capacity to test it? I'm currently testing
zalando_fr
Just started the test.
Hi, it works! - Since this is also integrate in #58 I close this. Thanks for discussing this!
Accept-Language was set to german. this may cause non german sites to redirect to a german version. setting Accept-Language to * should prevent this.
51