2020-10-14 14:24:11 +03:00
|
|
|
# -- 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!```
|
|
|
|
|
2020-10-11 22:13:41 +03:00
|
|
|
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!```
|
|
|
|
|
2020-10-14 14:24:11 +03:00
|
|
|
GET http://localhost:8000/compressed/zlib
|
2020-10-11 22:13:41 +03:00
|
|
|
HTTP/1.0 200
|
2020-10-14 14:24:11 +03:00
|
|
|
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
|
2020-10-20 09:18:27 +03:00
|
|
|
Content-Length: 17
|
2020-10-14 14:24:11 +03:00
|
|
|
Content-Encoding: br
|
2020-10-11 22:13:41 +03:00
|
|
|
Content-Type: text/html; charset=utf-8
|
2020-10-20 14:51:50 +03:00
|
|
|
```Hello World!```
|
|
|
|
|
|
|
|
GET http://localhost:8000/compressed/brotli_identity
|
|
|
|
HTTP/1.0 200
|
|
|
|
Content-Length: 17
|
|
|
|
Content-Encoding: br, identity
|
|
|
|
Content-Type: text/html; charset=utf-8
|
2020-10-11 22:13:41 +03:00
|
|
|
```Hello World!```
|