hurl/integration/tests/compressed.hurl
Fabrice Reix c6347a6828 Decompress response body
- explicitly for the output if --compressed has been set
- implicitly for textual queries
2020-10-15 08:44:21 +02:00

27 lines
650 B
Plaintext

# -- COMPRESSED HAS NO EFFECT ON NON-COMPRESSED
GET http://localhost:8000/compressed/none
HTTP/1.0 200
Content-Length: 12
Content-Type: text/html; charset=utf-8
```Hello World!```
GET http://localhost:8000/compressed/gzip
HTTP/1.0 200
Content-Length: 32
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
```Hello World!```
GET http://localhost:8000/compressed/zlib
HTTP/1.0 200
Content-Length: 20
Content-Encoding: deflate
Content-Type: text/html; charset=utf-8
```Hello World!```
GET http://localhost:8000/compressed/brotli
HTTP/1.0 200
Content-Length: 16
Content-Encoding: br
Content-Type: text/html; charset=utf-8
```Hello World!```