Skip to content
Advertisement

Tag: php-curl

Decoding a gzipped string in PHP

I am trying to decode a gzipped body of a REST response (YouTrack-API) with PHP. Nothing seems to work: Automatic decoding from CURL does nothing Using Guzzle with headers set to accept encoding does nothing Simply putting the acquired string into gzdecode() does nothing I have tried gzinflate, gzdecode and some wild combinations of them including stripping off bytes at

Advertisement