mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Fix and update the compress example to use cowboy_compress_h
This commit is contained in:
parent
413196ace1
commit
3c198f7d90
3 changed files with 141 additions and 8 deletions
|
@ -19,5 +19,5 @@ have established the ability to work at virtually identical tasks and obtained
|
|||
considerable respect for their achievements. There are also cattle handlers
|
||||
in many other parts of the world, particularly South America and Australia,
|
||||
who perform work similar to the cowboy in their respective nations.\n">>,
|
||||
Req = cowboy_req:reply(200, [], BigBody, Req0),
|
||||
Req = cowboy_req:reply(200, #{}, BigBody, Req0),
|
||||
{ok, Req, Opts}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue