---
title: Decompress and read gzipped responses
summary: When you need to work on API and text responses from backends that support gzip.
url: https://www.fastly.com/documentation/solutions/examples/decompress-and-read-gzipped-responses
---

When you need to work on API and text responses from backends that support gzip.

## Compute

### Rust

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/2ab96f3f)

### Javascript

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/859a88bf)

### Go

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/05ce365a)

