This is a CORS issue and what you see is the OPTIONS request before the original one. The player does not perfrom it, but the browser must send an OPTIONS request in order to ask the server if the custom headers are allowed.
If the server allows custom headers the browser performs the actual request with the custom header(s) included.
You can read more about CORS here.
your code, how to set additional header, when i try add header:
Player will send header:
what i need do, to take this header: MyHeader:test?
1 person has this problem