Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

App proxy changes "Accept-Language" request header to "en"

App proxy changes "Accept-Language" request header to "en"

kampfgnu
Shopify Partner
2 0 2

in my app extension, i am calling a 3rd party REST API to get some JSON in the language defined in "Accept-Language" request header.

the shopify app proxy always changes its value to "en".

 

as a workaround, i added another request header named "spotify-app-proxy-accept-language-workaround" to send the choosen language.

 

are there any reasons for this behaviour or is it just a bug?

Replies 0 (0)