Adding a body to our OPTIONS requests fixes 415 error responses in IE11 and Edge.

This commit is contained in:
Michael Abashian 2015-12-03 09:31:40 -05:00
parent 780b27e0ed
commit a22955d466

View File

@ -258,7 +258,8 @@ export default
return $http({
method: 'OPTIONS',
url: this.url,
headers: this.headers
headers: this.headers,
data: ''
});
} else {
return this.createResponse({