According to wiki the compressed data in deflate and gzip are the same. the only difference is the header and footer ? In gzip the footer seems to have a checksum and a file compressed with deflate does not have such a item.
could someone please shed some light upon this ?
Yes, gzip = deflate + checksum + header + footer.
Lots more reading, if you care: https://stackoverflow.com/search?q=gzip+vs+deflate.