Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for bug with accepting FormData as body
- Added .eslintignore file. - Updated the .eslintrc.json file. - Updated depencencies. - Reconfigured the transportr.tests.js file to use test.concurrent. - Added a test to check if the request body is removed when the request method is GET. - Added code to remove the content-type header and request body if the request method is GET. - Changed the private methods to use regular objects instead of FormData, Headers, and URLSearchParams. - Added a check for the response in the catch block of the fetch call to ensure that another error isn't thrown.
- Loading branch information