Skip to main contentModule util
Source - check_tus_resumable
- Verify the
Tus-Resumable header is present and matches our version. - has_defer_length
- Returns
true if the request has Upload-Defer-Length: 1. - parse_upload_length
- Parse
Upload-Length from headers. Returns None if absent. - parse_upload_offset
- Parse
Upload-Offset from headers. Returns Err if missing or not a valid u64. - static_header
- Build a header value from a static string.
- u64_header
- Build a header value from a
u64 (decimal digits are always valid in HTTP header values).