Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved FormData support; #4448

Merged
merged 12 commits into from Mar 14, 2022

Commits on Jan 21, 2022

  1. Fixed isFormData predicate;

    Added support for automatic object serialization to FormData if `Content-Type` is `multipart/form-data`;
    Added support for FormData to be overloaded using `config.env.FormData` option;
    Added support for FormData in node.js environment through `form-data` package;
    DigitalBrainJS committed Jan 21, 2022
    Copy the full SHA
    0871679 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Copy the full SHA
    803107a View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2022

  1. Added the form-data package as a dependency for the server build;

    Added tests for FormData payload;
    DigitalBrainJS committed Feb 6, 2022
    Copy the full SHA
    0114682 View commit details
    Browse the repository at this point in the history
  2. Added FormData automatic serialization section;

    Refactored cancellation section;
    DigitalBrainJS committed Feb 6, 2022
    Copy the full SHA
    9414586 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b70ef97 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' of https://github.com/axios/axios into fix/isFo…

    …rmData
    
    � Conflicts:
    �	lib/defaults.js
    DigitalBrainJS committed Feb 6, 2022
    Copy the full SHA
    0b0a727 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Reworked toFormData helper;

    Expose toFormData helper as a static method;
    Refactored transform request;
    Added kindOf, kindOfTest, endsWith, isTypedArray util;
    Refactored utils.js to use kindOf for tests;
    DigitalBrainJS committed Feb 15, 2022
    Copy the full SHA
    95338b3 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of https://github.com/axios/axios into feat/toF…

    …ormData
    
    � Conflicts:
    �	lib/adapters/http.js
    �	lib/defaults.js
    �	lib/helpers/toFormData.js
    �	package-lock.json
    �	test/specs/helpers/toFormData.spec.js
    DigitalBrainJS committed Feb 15, 2022
    Copy the full SHA
    5bdae1e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'fix/isFormData' into feat/FormData

    # Conflicts:
    #	package-lock.json
    #	package.json
    DigitalBrainJS committed Feb 15, 2022
    Copy the full SHA
    3b2de16 View commit details
    Browse the repository at this point in the history
  4. Fixed isFormData predicate; (axios#4413)

    Added support for automatic object serialization to FormData if `Content-Type` is `multipart/form-data`;
    Added support for FormData to be overloaded using `config.env.FormData` option;
    Added support for FormData in node.js environment using `form-data` package;
    
    (cherry picked from commit 73e3bdb)
    DigitalBrainJS committed Feb 15, 2022
    Copy the full SHA
    cd853ec View commit details
    Browse the repository at this point in the history
  5. Added shortcut methods postForm, putForm, patchForm to submit a…

    … Form;
    
    Added ability to submit FileList object as a FormData;
    Updated README.md;
    DigitalBrainJS committed Feb 15, 2022
    Copy the full SHA
    780f077 View commit details
    Browse the repository at this point in the history
  6. Updated README.md;

    DigitalBrainJS committed Feb 15, 2022
    Copy the full SHA
    e4cf522 View commit details
    Browse the repository at this point in the history