From 36249579702b6007871154d38e4c42896b44d592 Mon Sep 17 00:00:00 2001 From: Sean Feng Date: Wed, 12 Jun 2024 09:55:00 +0200 Subject: [PATCH] Editorial: Export the image pattern and the media pattern algorithm Needed for https://github.com/whatwg/fetch/pull/1755 --- mimesniff.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mimesniff.bs b/mimesniff.bs index 16cc75a..3a0e943 100644 --- a/mimesniff.bs +++ b/mimesniff.bs @@ -791,7 +791,7 @@ and a set of bytes to be ignored ignored, and ret

To determine which image MIME type byte pattern a byte sequence input matches, if any, use the following -image type pattern matching algorithm: +image type pattern matching algorithm:

  1. Execute the following steps for each row row in the following table: @@ -985,7 +985,7 @@ and a set of bytes to be ignored ignored, and ret

    Matching an audio or video type pattern

    To determine which audio or video MIME type byte pattern a byte sequence -input matches, if any, use the following audio or video type pattern matching +input matches, if any, use the following audio or video type pattern matching algorithm: