From d87b873ea5bbdae1352b2a61f5110f20b65928cc Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 12 Jan 2025 08:07:20 -0800 Subject: http: status and reason fixes (make it match docs) --- docs/ref/api/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref/api') 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. -- cgit v1.2.3-70-g09d2