Skip to content

Allow beforeSend to be async & allow access to xhrFields

Choose a tag to compare

@chasenlehara chasenlehara released this 08 Apr 03:59
· 51 commits to master since this release

This release covers two issues:

  1. beforeSend is now allowed to run async. If it returns a Promise, it will be waited on before sending.

  2. beforeSend is now invoked after the xhrFields option has been processed such that the following assertion fails

See #52 for more details.