Refused to set unsafe header "Accept-Encoding"

Hey guys,

I’m new to Ionic! I get the Error “Refused to set unsafe header “Accept-Encoding” on Safari when I try to append " ‘Accept-Encoding’, ‘gzip, deflate’” to the header.
The default Header has the “Accept-Encoding” value of “gzip, deflate, br”.
It seems that Safari wants it compressed in Brotli. The problem is that my REST-API cant compress it to Brotli and I will not be able to change it.

Is there another away, that i can set the default “Accept-Encoding” to “gzip, deflate”?
It works on Chrome.