Skip to main content

response_components

Function response_components 

Source
pub fn response_components(headers: &[(String, String)]) -> Vec<Component>
Expand description

The components the WIMSE profile requires a response signature to cover, given the headers the response actually carries.

Section 3 names @status, @method;req and @request-target;req, plus Content-Type and Content-Digest when present and the WIT. The two ;req components are the interesting ones: without them a signed response could be lifted onto a different request.