Skip to main content

HEADER_FINAL

Constant HEADER_FINAL 

Source
pub const HEADER_FINAL: &'static str;
Expand description

HTTP header marking an upload request as the FINAL chunk of a file.

When present (value 1/true), the server verifies that the resulting file size equals the declared x-libfw-file-meta size before committing, so a client cannot commit a truncated file. Absent skips the check, so the header is optional.