Re: [slightlyoff/ServiceWorker] cache.match should create partial responses if given a range request (#913)

> It'd be great to do this for opaque responses too

Hmm, I'm not sure this is a good idea. Imagine a file containing

```
blahblahblahblah('secret-data')blahblahblah
```

I could request `bytes=0-31` and serve it in response to a `<script src>`, and get "secret-data".

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/913#issuecomment-226801824

Received on Friday, 17 June 2016 15:33:03 UTC