matlab.net.http.field.GenericField Class
Namespace: matlab.net.http.field
Superclasses: matlab.net.http.HeaderField
HTTP header field with any name and value
Description
Use a GenericField
header field for testing or to work around a built-in
restriction that might not be appropriate for your application. The HeaderField
class and its subclasses validate the Value
property for the given
Name
property. To override a Value
that might
otherwise be rejected, create a GenericField
header field.
If a header field in a response message contains a value that is not valid for the field
name, then MATLAB® creates a GenericField
object.
Creation
Properties
Methods
Examples
Version History
Introduced in R2016b