Angular 1.2.26
For some unknown reason mobile ios 8 is sending the wrong Content type
header
Content_Type
application/xml
On top of that I'm also getting what looks to be directives as header
values:
Roo-Post-Code
E16HT
Roo-User-Email
I have the defaults being set explicitly:
$httpProvider.defaults.headers.common = {
'Accept': 'application/json',
'Content-Type': 'application/json;charset=utf-8'
};
I've tried explicitly setting the content type by it's getting bypassed.
$http.post('/api/checkout', {
xxxxx: xxxx,
xxxxx: xxxx
}, {
'Accept': 'application/json',
'Content-Type': 'application/json;charset=utf-8'
})
At a bit of a loss here. This is only on iOS 8 + Mobile Safari 8.
Any idea's?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.