An HTTP request, using the POST method, to Kaspersky Scan Engine must include the
When making an HTTP request, there are three request headers specific to Kaspersky Scan Engine that you can set:
This header specifies the KAV protocol version used. This header is mandatory.
This header specifies a scanning operation timeout in milliseconds (but not a session timeout). This header is optional.
This header takes values ranging from
4294967295 (unsigned 32-bit integer value). Set the value based on the characteristics of the object to scan (for example, its size or whether it is multipart or not; Kaspersky Scan Engine takes longer to scan a large multipart object).
For more information about a scanning timeout and a session timeout, see section "Setting the session timeout".
This header contains the scan task context that Kaspersky Scan Engine uses to increase the detection rate. This header is optional.
The use of this header does not affect scanning performance.
We recommend that you use the scan task context in gateway integrations.
Use the following format for the context:
The supported protocols are HTTP, HTTPS, and FTP.
If the URL is unknown, we recommend to use
http://example.com as the scan task context.
[from:%sender_address%], for example:
If the sender's email address is unknown, we recommend that you use
[from:firstname.lastname@example.org] as the scan task context.
Scan task context is only applicable to file and memory scanning. If you specify scan task context for a URL, it will be ignored.