You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
{why is this feature important, not just for you, but for many others?}
For request of traditional uploads, there is an option to set params to be sent within the body (see https://docs.fineuploader.com/branch/master/api/options.html#request.paramsInBody). For an internal project I need the possibility to include the params for chunking requests as custom headers instead, in order to avoid numerous pre-flight requests for cors.
For this purpose I require to configure the options for params in a different way, for example by replacing the option request.paramsInBody with request.paramsMode and a new option -> header | body | url. Of course this approach would cause a breaking change in the core options API, so I am open for another solution.
Optionally for request.header there should be an option to set a prefix for header params (i.e. 'x-upload-'). This could be also set as 'request.headerParamPrefix`.
The text was updated successfully, but these errors were encountered:
thickl
pushed a commit
to RBMHTechnology/fine-uploader
that referenced
this issue
Jul 25, 2017
Custome headers will not help you to avoid preflight requests. And with that I’m going to close this issue since that is the only obvious motivation for this proposal.
Type of issue
Uploader type
Feature Request
Feature request details
{why is this feature important, not just for you, but for many others?}
For request of
traditional
uploads, there is an option to set params to be sent within the body (see https://docs.fineuploader.com/branch/master/api/options.html#request.paramsInBody). For an internal project I need the possibility to include the params for chunking requests as custom headers instead, in order to avoid numerouspre-flight
requests forcors
.For this purpose I require to configure the options for params in a different way, for example by replacing the option
request.paramsInBody
withrequest.paramsMode
and a new option ->header | body | url
. Of course this approach would cause a breaking change in the core options API, so I am open for another solution.Optionally for
request.header
there should be an option to set a prefix for header params (i.e. 'x-upload-'). This could be also set as 'request.headerParamPrefix`.The text was updated successfully, but these errors were encountered: