|
144 | 144 | <param name="values">A list of header values to add to the collection.</param> |
145 | 145 | <summary>Adds the specified header and its values into the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> |
146 | 146 | <remarks> |
147 | | - <format type="text/markdown"><'s definition. Non-ASCII characters are not allowed in a header name. |
| 147 | + <format type="text/markdown"><'s definition. Non-ASCII characters are not allowed in a header name. |
| 151 | +
|
| 152 | + The header `values` will be parsed and validated. |
| 153 | +
|
| 154 | + If the specified header does not exist, the <xref:System.Net.Http.Headers.HttpHeaders.Add%2A> method inserts a new header into the list of header name/value pairs. |
| 155 | +
|
| 156 | + If the specified header is already present, `values` are added to the comma-separated list of values associated with the header. |
151 | 157 |
|
152 | | - The header `values` will be parsed and validated. |
153 | | - |
154 | | - If the specified header does not exist, the <xref:System.Net.Http.Headers.HttpHeaders.Add%2A> method inserts a new header into the list of header name/value pairs. |
155 | | - |
156 | | - If the specified header is already present, `values` are added to the comma-separated list of values associated with the header. |
157 | | - |
158 | 158 | ]]></format> |
159 | 159 | </remarks> |
160 | 160 | <exception cref="T:System.ArgumentException">The name cannot be null or empty.</exception> |
@@ -215,17 +215,17 @@ The header value format is invalid for this header name, or the header does not |
215 | 215 | <param name="value">The content of the header.</param> |
216 | 216 | <summary>Adds the specified header and its value into the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> |
217 | 217 | <remarks> |
218 | | - <format type="text/markdown"><'s definition. Non-ASCII characters are not allowed in a header name. |
| 218 | + <format type="text/markdown"><'s definition. Non-ASCII characters are not allowed in a header name. |
| 222 | +
|
| 223 | + The header `values` will be parsed and validated. |
| 224 | +
|
| 225 | + If the specified header does not exist, the <xref:System.Net.Http.Headers.HttpHeaders.Add%2A> method inserts a new header into the list of header name/value pairs. |
| 226 | +
|
| 227 | + If the specified header is already present, `value` is added to the comma-separated list of values associated with the header. |
222 | 228 |
|
223 | | - The header `values` will be parsed and validated. |
224 | | - |
225 | | - If the specified header does not exist, the <xref:System.Net.Http.Headers.HttpHeaders.Add%2A> method inserts a new header into the list of header name/value pairs. |
226 | | - |
227 | | - If the specified header is already present, `value` is added to the comma-separated list of values associated with the header. |
228 | | - |
229 | 229 | ]]></format> |
230 | 230 | </remarks> |
231 | 231 | <exception cref="T:System.ArgumentException">The name cannot be null or empty.</exception> |
@@ -471,7 +471,7 @@ The header value format is invalid for this header name, or the header does not |
471 | 471 | <param name="name">The name of the header to remove from the collection.</param> |
472 | 472 | <summary>Removes the specified header from the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection.</summary> |
473 | 473 | <returns> |
474 | | - <see langword="true" /> if <paramref name="name" /> is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> was not found in the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection or if <paramref name="item" /> is <see langword="null" />. |
| 474 | + <see langword="true" /> if <paramref name="name" /> is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="name" /> was not found in the <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection or if <paramref name="name" /> is <see langword="null" />. |
475 | 475 | </returns> |
476 | 476 | <remarks>To be added.</remarks> |
477 | 477 | </Docs> |
|
0 commit comments