Home > Configuration > Application Firewall > setappfwprofile_responsecontenttype

setappfwprofile_responsecontenttype

Use this method to set default Content-Type header for responses.
A Content-Type header can contain 0-255 letters, numbers, and the hyphen (-) and underscore (_) characters.

Syntax



Parameters

name

Name of the profile that you want to modify.
This is mandatory parameter.

responsecontenttype

Default Content-Type header for responses. A Content-Type header can contain 0-255 letters, numbers, and the hyphen (-) and underscore (_) characters.
Default value = NS_S_AS_DEFAULT_RESPONSE_CONTENT_TYPE.

Return Value

Returns simpleResult

See Also