mirror of
https://github.com/notrab/dumbo.git
synced 2025-01-17 14:18:14 +01:00
Compress Example
This example demonstrates how to compress responses using gzip or deflate in Dumbo.
Running the Example
-
Install dependencies:
composer install
-
Start the server:
composer start
-
Make a request
curl -H "Accept-Encoding: gzip" --compressed -i http://localhost:8000