- 24 7月, 2015 3 次提交
-
-
由 mzabriskie 提交于
closes #56
-
由 mzabriskie 提交于
closes #57
-
由 mzabriskie 提交于
closes #89
-
- 23 7月, 2015 3 次提交
-
-
由 Tomáš Holas 提交于
Test for ActiveXObject
-
由 Maximilian Hoffmann 提交于
-
由 Maximilian Hoffmann 提交于
-
- 21 7月, 2015 1 次提交
-
-
由 Andrew Gibb 提交于
-
- 13 7月, 2015 1 次提交
-
-
由 Tomáš Holas 提交于
In nodejs testing environment it's possible to use https://github.com/tmpvar/jsdom library to define a window object, but you still want to use node http adapter. Due to those diverse testing environmnents, I propose to test for XMLHttpRequest directly, because window global object is not a sure sign of a browser environment anymore.
-
- 19 6月, 2015 2 次提交
-
-
由 mzabriskie 提交于
closes #69
-
由 mzabriskie 提交于
-
- 27 5月, 2015 1 次提交
-
-
由 Maximilian Hoffmann 提交于
-
- 13 4月, 2015 1 次提交
-
-
由 mzabriskie 提交于
-
- 09 4月, 2015 1 次提交
-
-
由 mzabriskie 提交于
closes #53
-
- 08 4月, 2015 1 次提交
-
-
由 mzabriskie 提交于
closes #55
-
- 19 3月, 2015 2 次提交
-
-
由 mzabriskie 提交于
-
由 mzabriskie 提交于
-
- 18 3月, 2015 1 次提交
-
-
由 mzabriskie 提交于
-
- 14 3月, 2015 2 次提交
-
-
由 mzabriskie 提交于
-
由 mzabriskie 提交于
closes #46
-
- 11 3月, 2015 2 次提交
-
-
由 mzabriskie 提交于
closes #47
-
由 mzabriskie 提交于
closes #45
-
- 03 2月, 2015 2 次提交
-
-
由 mzabriskie 提交于
closes #38
-
由 mzabriskie 提交于
-
- 25 1月, 2015 1 次提交
-
-
由 Niklas Närhinen 提交于
-
- 23 1月, 2015 4 次提交
-
-
由 mzabriskie 提交于
-
由 mzabriskie 提交于
-
由 mzabriskie 提交于
-
由 mzabriskie 提交于
-
- 10 12月, 2014 1 次提交
-
-
由 torkvalo 提交于
-
- 06 12月, 2014 1 次提交
-
-
由 Jason Dobry 提交于
-
- 23 10月, 2014 1 次提交
-
-
由 Niklas Närhinen 提交于
When data passed to axios is of type FormData we have to let the browser create the Content-Type header so that the boundaries will get right etc. Usage: ```js var data = new FormData(); data.append('field', 'some string'); data.append('file', someFile); var opts = { transformRequest: function(data) { return data; } }; axios.post('/fileupload', data, opts); ```
-
- 16 10月, 2014 1 次提交
-
-
由 mzabriskie 提交于
-
- 30 9月, 2014 1 次提交
-
-
由 mzabriskie 提交于
-
- 23 9月, 2014 3 次提交
-
-
由 mzabriskie 提交于
-
由 mzabriskie 提交于
-
由 mzabriskie 提交于
-
- 22 9月, 2014 2 次提交
-
-
由 mzabriskie 提交于
-
由 mzabriskie 提交于
-
- 21 9月, 2014 1 次提交
-
-
由 Mathieu Bruyen 提交于
Content-length header was set to the length of the string, which does not take into account multibyte sequences in UTF-8 strings. Now converts first to a buffer to get the proper length.
-
- 18 9月, 2014 1 次提交
-
-
由 Mathieu Bruyen 提交于
In order to push binary data under the form of ArrayBuffer and its related views (Int8Array, ...) one needs not to stringify those. For the XHR adapter there is nothing to do as it natively supports ArrayBuffer in req.send(). Node's http adapter supports only string or Buffer thus a transformation to Buffer is required before setting content length header.
-