If `Vue.http.post` gets called without passing in any data, the body of the request-body will contain a string "undefined". This is a known quirk of IE11 (see [MR on superagent](https://github.com/visionmedia/superagent/commit/319b72aecadcc0b7ebd115a7bc95c6114b5f2bbd)) **Note**: This only happens if `Object.assign` is being polyfilled - not if the internal `assign`-util is being called. ### Reproduction Link [jsfiddle to reproduce](https://jsfiddle.net/t8dyjvL2/6/) ### Steps to reproduce Load the [jsfiffle](https://jsfiddle.net/t8dyjvL2/6/) in IE11. ### What is Expected? The request's body should be empty and the `data` field in the example above should be an empty string. ### What is actually happening? The `data` field contains a string 'undefined'
If
Vue.http.postgets called without passing in any data, the body of the request-body will contain a string "undefined".This is a known quirk of IE11 (see MR on superagent)
Note: This only happens if
Object.assignis being polyfilled - not if the internalassign-util is being called.Reproduction Link
jsfiddle to reproduce
Steps to reproduce
Load the jsfiffle in IE11.
What is Expected?
The request's body should be empty and the
datafield in the example above should be an empty string.What is actually happening?
The
datafield contains a string 'undefined'