Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/06chaynes/http-cache
/ warning_code
Method
warning_code
http-cache/src/lib.rs:921–925 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
919
);
920
}
921
}
922
Ok(converted.into_parts().0)
923
}
924
925
/// Returns the status code of the warning header if present
926
#[must_use]
927
fn warning_code(&self) -> Option<usize> {
928
self.headers.get(WARNING).and_then(|hdr| {
Callers
2
run
Method · 0.80
response_methods_work
Function · 0.80
Calls
1
get
Method · 0.45
Tested by
1
response_methods_work
Function · 0.64