[w3c/ServiceWorker] Check requestMethod (PR #1748)

As suggested in https://github.com/w3c/ServiceWorker/issues/1747, addRoutes() checks requestMethod is valid, and matching will happens with a normalized method.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/yoshisatoyanagisawa/ServiceWorker/pull/1748.html" title="Last updated on Jan 23, 2025, 7:54 AM UTC (2f58e56)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/ServiceWorker/1748/e23f928...yoshisatoyanagisawa:2f58e56.html" title="Last updated on Jan 23, 2025, 7:54 AM UTC (2f58e56)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1748

-- Commit Summary --

  * Check requestMethod

-- File Changes --

    M docs/index.bs (7)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1748.patch
https://github.com/w3c/ServiceWorker/pull/1748.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1748
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/pull/1748@github.com>

Received on Thursday, 23 January 2025 07:55:05 UTC