Merge pull request #945 from benjaminp/trailer-grammar

fix up grammar in submit_trailer docs
This commit is contained in:
Tatsuhiro Tsujikawa 2017-06-20 00:35:46 +09:00 committed by GitHub
commit defa28c618
1 changed files with 2 additions and 3 deletions

View File

@ -3809,9 +3809,8 @@ nghttp2_submit_response(nghttp2_session *session, int32_t stream_id,
* Submits trailer fields HEADERS against the stream |stream_id|. * Submits trailer fields HEADERS against the stream |stream_id|.
* *
* The |nva| is an array of name/value pair :type:`nghttp2_nv` with * The |nva| is an array of name/value pair :type:`nghttp2_nv` with
* |nvlen| elements. The application is responsible not to include * |nvlen| elements. The application must not include pseudo-header
* pseudo-header fields (header field whose name starts with ":") in * fields (headers whose names starts with ":") in |nva|.
* |nva|.
* *
* This function creates copies of all name/value pairs in |nva|. It * This function creates copies of all name/value pairs in |nva|. It
* also lower-cases all names in |nva|. The order of elements in * also lower-cases all names in |nva|. The order of elements in