0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00

Use spaces in snippets in the guide

This commit is contained in:
Loïc Hoguin 2016-09-14 18:51:11 +02:00
parent a231216b07
commit 31cabe0fb9
10 changed files with 104 additions and 104 deletions

View file

@ -71,7 +71,7 @@ only up to 1MB for up to 5 seconds:
[source,erlang]
----
{ok, Data, Req} = cowboy_req:read_body(Req0,
#{length => 1000000, period => 5000}).
#{length => 1000000, period => 5000}).
----
You may also disable the length limit:
@ -126,5 +126,5 @@ read for up to 64KB and up to 5 seconds. They can be modified:
[source,erlang]
----
{ok, KeyValues, Req} = cowboy_req:read_urlencoded_body(Req0,
#{length => 4096, period => 3000}).
#{length => 4096, period => 3000}).
----