mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
content-type doesn't need to be text anymore
This commit is contained in:
parent
7bd0c17188
commit
a0f7ed68fb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user