[w3c/ServiceWorker] addRoutes should check for requestMethod (Issue #1747)

Route condition requestMethod is compared to a request method as part of https://w3c.github.io/ServiceWorker/#match-router-condition.
Like done for Request constructor, requestMethod should be:
1. validated with https://fetch.spec.whatwg.org/#concept-method and https://fetch.spec.whatwg.org/#forbidden-method
2. normalized with https://fetch.spec.whatwg.org/#concept-method-normalize.

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

Message ID: <w3c/ServiceWorker/issues/1747@github.com>

Received on Wednesday, 22 January 2025 14:50:07 UTC