pub fn request_path_without_query(target: &str) -> Option<String>Expand description
Removes query and fragment data from a request target.
§Parameters
target: Input consumed bycrate::http::request_path_without_query.
§Returns
Returns Some when crate::http::request_path_without_query can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::http::request_path_without_query.
§Examples
ⓘ
let _result = pharos_runtime_core::http::request_path_without_query("/");§Related
crate::httpfor adjacent helpers that share the same runtime surface.