Skip to main content

header_value

Function header_value 

Source
pub fn header_value(urgency: Urgency, incremental: bool) -> String
Expand description

Build the Priority: header value per RFC 9218 §4. incremental signals the server may deliver the response in chunks (true for tarballs, false for packuments where the consumer parses JSON whole).