summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/signed-exchange/resources/service-worker.js
blob: 2647f45a3ea3e7e406305f41a3b4677b26ecd8e7 (plain)
1
2
3
4
5
self.addEventListener('fetch', function(event) {
  event.respondWith(new Response(
    '<body>Generated by service worker</body>',
    {headers:[['content-type', 'text/html']]}));
});