2024-09-08 09:24:05 +01:00
..
2024-09-08 09:24:05 +01:00
2024-09-04 14:16:46 +01:00

Compress Example

This example demonstrates how to compress responses using gzip or deflate in Dumbo.

Running the Example

  1. Install dependencies:

    composer install
    
  2. Start the server:

    composer start
    
  3. Make a request

     curl -H "Accept-Encoding: gzip" --compressed -i http://localhost:8000