aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKian-Meng, Ang <[email protected]>2021-08-29 22:32:15 +0800
committerLoïc Hoguin <[email protected]>2023-12-06 18:46:56 +0100
commitb12b4300bad166e91c894d978220a28ccfc4e2bc (patch)
tree1fea3d256d6de6495f37d741353cafb20607c813 /doc
parenta93ac120f495d417b9dd1e1d86085bb258a7482c (diff)
downloadcowboy-b12b4300bad166e91c894d978220a28ccfc4e2bc.tar.gz
cowboy-b12b4300bad166e91c894d978220a28ccfc4e2bc.tar.bz2
cowboy-b12b4300bad166e91c894d978220a28ccfc4e2bc.zip
Fix typos in documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/migrating_from_2.5.asciidoc2
-rw-r--r--doc/src/manual/cowboy_stream.asciidoc6
-rw-r--r--doc/src/manual/cowboy_websocket.asciidoc2
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/guide/migrating_from_2.5.asciidoc b/doc/src/guide/migrating_from_2.5.asciidoc
index b91b617..5196cc7 100644
--- a/doc/src/guide/migrating_from_2.5.asciidoc
+++ b/doc/src/guide/migrating_from_2.5.asciidoc
@@ -64,7 +64,7 @@ experimental.
* Add automatic handling of range requests to REST handlers
that return the callback `auto` from `ranges_accepted/2`.
Cowboy will call the configured `ProvideCallback` and
- then split the ouput automatically for the ranged response.
+ then split the output automatically for the ranged response.
* Enable range requests support in `cowboy_static`.
diff --git a/doc/src/manual/cowboy_stream.asciidoc b/doc/src/manual/cowboy_stream.asciidoc
index 65bd06e..148c23e 100644
--- a/doc/src/manual/cowboy_stream.asciidoc
+++ b/doc/src/manual/cowboy_stream.asciidoc
@@ -52,11 +52,11 @@ HTTP/1.1 will initialize a stream only when the request-line
and all headers have been received. When errors occur before
that point Cowboy will call the callback `early_error/5`
with a partial request, the error reason and the response
-Cowboy intends to send. All other events go throuh the
+Cowboy intends to send. All other events go through the
stream handler using the normal callbacks.
HTTP/2 will initialize the stream when the `HEADERS` block has
-been fully received and decoded. Any protocol error occuring
+been fully received and decoded. Any protocol error occurring
before that will not result in a response being sent and
will therefore not go through the stream handler. In addition
Cowboy may terminate streams without sending an HTTP response
@@ -278,7 +278,7 @@ This can also be used to override stream handler
options. For example this is supported by
link:man:cowboy_compress_h(3)[cowboy_compress_h(3)].
-Not all options can be overriden. Please consult the
+Not all options can be overridden. Please consult the
relevant option's documentation for details.
== Predefined events
diff --git a/doc/src/manual/cowboy_websocket.asciidoc b/doc/src/manual/cowboy_websocket.asciidoc
index 5b1558c..df74507 100644
--- a/doc/src/manual/cowboy_websocket.asciidoc
+++ b/doc/src/manual/cowboy_websocket.asciidoc
@@ -126,7 +126,7 @@ timeout::
received first.
{error, Reason}::
- A socket error ocurred.
+ A socket error occurred.
== Types