Traits§
Functions§
- create_
dir - Creates a directory and all of its parent components if they are missing.
- is_
same_ site - Checks if two URLs belong to the same site.
- normalize_
origin - Normalizes the origin of a request’s URL.
- validate_
output_ dir - Validates that the parent directory of a given file path exists, creating it if necessary.