Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Mobile Web App - Refused to set unsafe header "User-Agent" - "Appcelerator Titanium/"

$
0
0

We've just deployed our app via Apache for a mobile web application version and note that Chrome issues this error when calling our backend web service:

Refused to set unsafe header "User-Agent"

This seems to trace back to VM175 and the line:

xhr.setRequestHeader("User-Agent", "Appcelerator Titanium/" + Ti.version + " (mobileweb/" + Ti.Platform.version + "; mobileweb; " + Ti.Locale.currentLocale + ";)");

I've search based on the error, but have been unable to find a discussion about this.

Have people run into this?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>