I think this would be easier if you just did this with the shell and pipes:
curl ... | gunzip -c | sed -e script | gzip -c
You can also s/sed/perl/ :)
In reply to Re: Can I modify a single chunk of a gzip stream?
by Raster Burn
in thread Can I modify a single chunk of a gzip stream?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |