Tag Info

Hot answers tagged

1

As @BrockAdams said, the string is compressed and need to be uncompress depending on the $request->headers. $request = drupal_http_request('https://api.stackexchange.com/2.2/users?order=desc&sort=reputation&site=stackoverflow'); if (isset($request->headers['content-encoding'])) { if ($request->headers['content-encoding'] == 'gzip') { ...



Only top voted, non community-wiki answers of a minimum length are eligible