dojo / core

:rocket: Dojo 2 - language helpers and utilities.

Home Page:http://dojo.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upload progress events add preflight request

smhigley opened this issue · comments

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