When running a Tizen TV web-app, packaged as a .wgt file, on simulator, emulator or physical TV device it makes POST requests containing a 'Origin: file://' header, which are rejected by the server. GET requests do not include an origin header and work as expected.
The project is configured as tv-samsung-5.0 and contains the following relevant config lines:
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="https://redacted.be" version="0.0.1" viewmodes="maximized">
<feature name="http://tizen.org/feature/network.internet"/>
<tizen:profile name="tv-samsung"/>
<tizen:allow-navigation>*.redacted.be</tizen:allow-navigation>
<tizen:content-security-policy>default-src 'self'; connect-src 'self' https://*.youtube.com https://*.redacted.be; style-src 'self' 'unsafe-inline'; media-src https://*.youtube.com https://*.redacted.be blob:
</tizen:content-security-policy>
<tizen:setting screen-orientation="landscape" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
<tizen:privilege name="http://tizen.org/privilege/internet"/>
</widget>
The app is built with react-native-web, using the axios network library.
How can I avoid that the app sends this Origin header?