Mercurial > octave
comparison scripts/web/weboptions.m @ 27917:248b7b8f5a65
doc: Spellcheck documentation ahead of 6.1 release.
* aspell-octave.en.pws: Add new words to Octave-specific dictionary.
* audiodevinfo.cc (Faudiodevinfo): Add @nospell macro around "DriverVersion".
* weboptions.m: Add @nospell macro around "HeaderFields".
author | Rik <rik@octave.org> |
---|---|
date | Mon, 06 Jan 2020 13:13:52 -0800 |
parents | 06af06188403 |
children | b442ec6dda5c |
comparison
equal
deleted
inserted
replaced
27916:4a30a58a44ab | 27917:248b7b8f5a65 |
---|---|
76 ## @samp{KeyValue} --- Specify the value of the key @samp{KeyName}. | 76 ## @samp{KeyValue} --- Specify the value of the key @samp{KeyName}. |
77 ## | 77 ## |
78 ## @samp{KeyName} must be present in order to assign to this field. | 78 ## @samp{KeyName} must be present in order to assign to this field. |
79 ## | 79 ## |
80 ## @item | 80 ## @item |
81 ## @samp{HeaderFields} --- Specify the header fields for the connection. | 81 ## @samp{@nospell{HeaderFields}} --- Specify the header fields for the |
82 ## connection. | |
82 ## | 83 ## |
83 ## Names and values of header fields, specified as an m-by-2 array of strings | 84 ## Names and values of header fields, specified as an m-by-2 array of strings |
84 ## or cell array of character vectors to add to the HTTP request header. | 85 ## or cell array of character vectors to add to the HTTP request header. |
85 ## HeaderFields@{i,1@} is the name of a field and HeaderFields@{i,2@} is its | 86 ## @nospell{HeaderFields}@{i,1@} is the name of a field and |
86 ## value. | 87 ## @nospell{HeaderFields}@{i,2@} is its value. |
87 ## | 88 ## |
88 ## @example | 89 ## @example |
89 ## @group | 90 ## @group |
90 ## weboptions ("HeaderFields", @{"Content-Length" "78";"Content-Type" "application/json"@}) | 91 ## weboptions ("HeaderFields", @{"Content-Length" "78";"Content-Type" "application/json"@}) |
91 ## Creates a weboptions object that contains two header fields: Content-Length | 92 ## Creates a weboptions object that contains two header fields: Content-Length |