dojo / core

:rocket: Dojo 2 - language helpers and utilities.
http://dojo.io
Other
213 stars 62 forks source link

Upload progress events add preflight request #402

Closed smhigley closed 6 years ago

smhigley commented 6 years ago

Enhancement

It would be nice to be able to prevent upload progress events with an option to avoid unwanted preflight requests.

From the W3 xhr spec (https://xhr.spec.whatwg.org/#request):

Registering one or more event listeners on an XMLHttpRequestUpload object will result in a CORS-preflight request