I need gzip data in golang ,and post it to other API Service (wirte with php),but API Server can't ungzip ,why?
why golang and php gzip results are different ? thanks in advance
gzip string "1" :
golang result :[31 139 8 0 0 9 110 136 2 255 50 4 0 0 0 255 255]
php result :[31 139 8 0 0 0 0 0 2 3 51 4 0 183 239 220 131 1 0 0 0 ]
see demo