Skip to content

Conversation

@DigitalBrainJS
Copy link
Collaborator

No description provided.

Fixing a typo in the requests tests;
Added AbortController support;
…est Content-Type is 'application/json';

Added throwing SyntaxError if JSON parsing failed and responseType is json;
Added transitional option object;
Added options validator to assert transitional options;
Added transitional option `silentJSONParsing= true` for backward compatibility;
Updated README.md;
Updated typings;
Fixed typo;
Added validator.spec.js;
… the function context is not specified (for tests compatibility);
…tead of generic ECONNABORTED on request timeouts;

Added support of onloadend handler if available instead of onreadystatechange;
Added xhr timeout test;
Fixed potential bug of xhr adapter with proper handling timeouts&errors (FakeXMLHTTPRequest failed to handle timeouts);
# Conflicts:
#	index.d.ts
#	lib/adapters/xhr.js
# Conflicts:
#	README.md
#	index.d.ts
#	lib/core/Axios.js
#	test/specs/cancel.spec.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant