aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_http_res_copy_data.3http.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-01 17:11:32 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-01 19:18:37 -0700
commit3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c (patch)
treed670fc9ac327e017c62a72cbaeda4bcacda5f9dd /docs/man/nng_http_res_copy_data.3http.adoc
parent1ef281a7fbd544c6d3384fd8a71d10dc4bb081e8 (diff)
downloadnng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.tar.gz
nng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.tar.bz2
nng-3d3fa690c4f81bf4ed0a2de42c3c8fbb9f4cca5c.zip
Markup fixes, ensuring links are colored properly.
It turns out that when creating cross references, we need to make any text styling (generally literal characters) outside of the link, to avoid having the styling override the link color. (We prefer to have links colored for ease of use.) While here a few other markup, and actual content, errors were fixed.
Diffstat (limited to 'docs/man/nng_http_res_copy_data.3http.adoc')
-rw-r--r--docs/man/nng_http_res_copy_data.3http.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_http_res_copy_data.3http.adoc b/docs/man/nng_http_res_copy_data.3http.adoc
index 5542c441..3831d45b 100644
--- a/docs/man/nng_http_res_copy_data.3http.adoc
+++ b/docs/man/nng_http_res_copy_data.3http.adoc
@@ -30,7 +30,7 @@ and sets the HTTP body for the response _res_ to it.
The copy will be deallocated automatically when _res_ is freed.
The copied body data will be automatically sent with the response when it
-is sent using <<nng_http_conn_write_res.3http#,`nni_http_conn_write_res()`>>.
+is sent using `<<nng_http_conn_write_res.3http#,nni_http_conn_write_res()>>`.
This also updates the relevant `Content-Length` header of _res_.
@@ -38,7 +38,7 @@ NOTE: The current framework does not support sending data via chunked
transfer-encoding.
TIP: To avoid copying data, the
-<<nng_http_res_set_data.3http#,`nng_http_res_set_data()`>> may be used instead.
+`<<nng_http_res_set_data.3http#,nng_http_res_set_data()>>` may be used instead.
TIP: It is a good idea to also set the `Content-Type` header.