content-type doesn't need to be text anymore

This commit is contained in:
Kyle Spearrin 2017-12-16 23:14:43 -05:00
parent 7bd0c17188
commit a0f7ed68fb
1 changed files with 0 additions and 6 deletions

View File

@ -67,12 +67,6 @@ angular
appendToBody: true
});
if ($httpProvider.defaults.headers.post) {
$httpProvider.defaults.headers.post = {};
}
$httpProvider.defaults.headers.post['Content-Type'] = 'text/plain; charset=utf-8';
// stop IE from caching get requests
if (navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > 0) {
if (!$httpProvider.defaults.headers.get) {