1. 14 3月, 2015 5 次提交
  2. 13 3月, 2015 2 次提交
  3. 11 3月, 2015 5 次提交
  4. 18 2月, 2015 1 次提交
  5. 17 2月, 2015 1 次提交
  6. 03 2月, 2015 4 次提交
  7. 26 1月, 2015 1 次提交
  8. 25 1月, 2015 1 次提交
  9. 23 1月, 2015 7 次提交
  10. 11 12月, 2014 3 次提交
  11. 10 12月, 2014 3 次提交
  12. 09 12月, 2014 1 次提交
  13. 06 12月, 2014 2 次提交
  14. 03 12月, 2014 1 次提交
  15. 19 11月, 2014 1 次提交
  16. 05 11月, 2014 1 次提交
  17. 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