Gets or sets a value indicating whether to send a HEAD request before the POST one to check if authentication is needed or not.
$au.uploader({ uploadSettings: { //...other params... enableHeadRequest: true, //...other params... } })Get/Set Value at Runtime
$au.uploader('uploaderID').uploadSettings().enableHeadRequest(value); value = $au.uploader('uploaderID').uploadSettings().enableHeadRequest();
Type: Boolean
If true
, a HEAD request is sent before the POST one. Otherwise, a HEAD request is not sent.
Default value is true.