wintercg / fetch

WinterCG Fetch Standard
https://fetch.spec.wintercg.org/
Other
24 stars 0 forks source link

Use compliance modes throughout #20

Open lucacasonato opened 1 year ago

lucacasonato commented 1 year ago

Use the compliance modes from #19 throughout the spec:

andreubotella commented 1 year ago

It seems like a "supports HTTP cache" compliance mode would indeed be needed, since the "HTTP-network-or-cache fetch" algorithm can add Cache-Control and Pragma request headers, as well as return a network error for uncached responses, depending on the request's cache option. None of which seems acceptable for implementations without an HTTP cache.