1. 24 7月, 2015 3 次提交
  2. 23 7月, 2015 3 次提交
  3. 21 7月, 2015 1 次提交
  4. 13 7月, 2015 1 次提交
  5. 19 6月, 2015 2 次提交
  6. 27 5月, 2015 1 次提交
  7. 13 4月, 2015 1 次提交
  8. 09 4月, 2015 1 次提交
  9. 08 4月, 2015 1 次提交
  10. 19 3月, 2015 2 次提交
  11. 18 3月, 2015 1 次提交
  12. 14 3月, 2015 2 次提交
  13. 11 3月, 2015 2 次提交
  14. 03 2月, 2015 2 次提交
  15. 25 1月, 2015 1 次提交
  16. 23 1月, 2015 4 次提交
  17. 10 12月, 2014 1 次提交
  18. 06 12月, 2014 1 次提交
  19. 23 10月, 2014 1 次提交
    • N
      Automatic Content-Type for FormData uploads · 2f4d0b8b
      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);
      
      ```
      2f4d0b8b
  20. 16 10月, 2014 1 次提交
  21. 30 9月, 2014 1 次提交
  22. 23 9月, 2014 3 次提交
  23. 22 9月, 2014 2 次提交
  24. 21 9月, 2014 1 次提交
    • M
      Handle UTF-8 multibyte sequences in node · 9d5a8781
      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.
      9d5a8781
  25. 18 9月, 2014 1 次提交
    • M
      Allow ArrayBuffer and related views as data · 095a204c
      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.
      095a204c