summaryrefslogtreecommitdiff
path: root/docs/man/nng_http_handler_alloc.3http.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-30 18:10:59 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-30 18:10:59 -0700
commit3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b (patch)
tree64d829e2f4a860ace29442833e9da1abf70f3a2c /docs/man/nng_http_handler_alloc.3http.adoc
parentb2338c1a6d1e57f01396a8e77c65734cb2f0ae17 (diff)
downloadnng-3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b.tar.gz
nng-3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b.tar.bz2
nng-3e0ecffbd60ac2a6f50643adc07b0d2fea0cb22b.zip
Fix numerous spelling errrors.
These were found with the help of "aspell". Additionally, while reviewing the output from the spell checker, several content errors were noticed and fixed.
Diffstat (limited to 'docs/man/nng_http_handler_alloc.3http.adoc')
-rw-r--r--docs/man/nng_http_handler_alloc.3http.adoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/man/nng_http_handler_alloc.3http.adoc b/docs/man/nng_http_handler_alloc.3http.adoc
index 630871cc..187b91b6 100644
--- a/docs/man/nng_http_handler_alloc.3http.adoc
+++ b/docs/man/nng_http_handler_alloc.3http.adoc
@@ -93,14 +93,14 @@ a handler configured to serve a directory tree.
The _uri_ is taken as the root, and files are served from the directory
tree rooted at _path_.
-When the client Request-URI resolves to a directory in the filesystem,
+When the client Request-URI resolves to a directory in the file system,
the handler looks first for a file named `index.html` or `index.htm`.
If one is found, then that file is returned back to the client.
If no such index file exists, then an `NNG_HTTP_STATUS_NOT_FOUND` (404) error is
sent back to the client.
The `Content-Type` will be set automatically based upon the extension
-of the requsted file name.
+of the requested file name.
If a content type cannot be determined from
the extension, then `application/octet-stream` is used.
@@ -111,7 +111,7 @@ a handler to serve up a single file; it does not traverse directories
or search for `index.html` or `index.htm` files.
The `Content-Type` will be set automatically based upon the extension
-of the requsted file name.
+of the requested file name.
If a content type cannot be determined from
the extension, then `application/octet-stream` is used.