uploadSettings.enableHeadRequest Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a value indicating whether to send a HEAD request before the POST one to check if authentication is needed or not.

Syntax

JavaScript Initialize
$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();

Property Value

Type: Boolean

If true, a HEAD request is sent before the POST one. Otherwise, a HEAD request is not sent.

Default value is true.

See Also

Reference