This causes issues as discussed in https://bugs.webkit.org/show_bug.cgi?id=159166#c21
Created attachment 294944 [details] Patch
Patch is not working for piped resources
Created attachment 294945 [details] Patch