1
Fork 0

rd: Fix typo

This commit is contained in:
Steffo 2024-11-19 00:37:50 +01:00
parent f36ecbfc6d
commit aec5a01f2c
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -224,7 +224,7 @@ impl ResourceDescriptorXRD {
&& mime_type.suffix() == Some(mime::XML); && mime_type.suffix() == Some(mime::XML);
log::trace!("Is media type application/xrd+xml? {mime_is_xrd:?}"); log::trace!("Is media type application/xrd+xml? {mime_is_xrd:?}");
if !mime_is_xrd { if !mime_is_xrd {
log::error!("MIME type `{mime_type}` is not acceptable for JRD parsing."); log::error!("MIME type `{mime_type}` is not acceptable for XRD parsing.");
return Err(ContentTypeUnsupported); return Err(ContentTypeUnsupported);
} }