Skip to main content

is_gruu

Function is_gruu 

Source
pub fn is_gruu(uri: &Uri) -> bool
Expand description

Whether this URI is a GRUU (§4.5).

Presence is the entire test. A valueless gr is as much a GRUU as one carrying a value — §7 makes the value optional, and it is the form a registrar commonly mints temporary GRUUs in, where the whole URI is opaque and there is nothing for a value to add.