Set HTTP header for OSLC client
This example shows how to set a custom HTTP header for a configured OSLC client.
Create a custom HTTP header by using the
matlab.net.http.HeaderField class constructor.
header = matlab.net.http.HeaderField('Content-Type','text/plain')
header = HeaderField with properties: Name: "Content-Type" Value: "text/plain"
After you have created and configured an OSLC client as described in Create and Configure an OSLC Client for the Requirements Management Domain, assign the header to the OSLC client