aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/api/http.md
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-12 08:07:20 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-12 08:07:20 -0800
commitd87b873ea5bbdae1352b2a61f5110f20b65928cc (patch)
treebea488ee888710a7c99705d6de18ed49e9efebb7 /docs/ref/api/http.md
parentb16e6ebf05429cb4ac29b3a5a5c9758fa362c78a (diff)
downloadnng-d87b873ea5bbdae1352b2a61f5110f20b65928cc.tar.gz
nng-d87b873ea5bbdae1352b2a61f5110f20b65928cc.tar.bz2
nng-d87b873ea5bbdae1352b2a61f5110f20b65928cc.zip
http: status and reason fixes (make it match docs)
Diffstat (limited to 'docs/ref/api/http.md')
-rw-r--r--docs/ref/api/http.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/api/http.md b/docs/ref/api/http.md
index b2382155..48b09300 100644
--- a/docs/ref/api/http.md
+++ b/docs/ref/api/http.md
@@ -108,7 +108,7 @@ by the server in the last exchange on _conn_. (If no exchange has been performed
A descriptive message matching the status code is returned by {{i:`nng_http_get_reason`}}.
-The {{i:`nng_http_set_status`}} function is used on a server in a handler callback to set the status codethat will be
+The {{i:`nng_http_set_status`}} function is used on a server in a handler callback to set the status code that will be
reported to the client to _status_, and the associated text (reason) to _reason_. If _reason_ is `NULL`,
then a built in reason based on the _status_ will be used instead.