pub fn require_resource_with<K: AsRef<str>, V: Into<String>>(
name: &str,
options: impl IntoIterator<Item = (K, V)>,
origin: ResourceOrigin,
) -> Result<()>Expand description
Perl RequireResource($resource, %options) (Package.pm:3139-3158): name (empty for Perl’s undef) with the
options type, media and content. Any other option is the Error Perl’s CheckOptions raises
(Package.pm:1062-1067), and the resource is still required. An absolute URL (https://…) is kept as the link’s
target: post-processing neither reads nor copies it (Perl Post/XSLT.pm:93). origin is who asks (OD #1249).