Skip to content

/AWS1/CL_FNT=>UPDATERESPONSEHEADERSPOLICY()

About UpdateResponseHeadersPolicy

Updates a response headers policy.

When you update a response headers policy, the entire policy is replaced. You cannot update some policy fields independent of others. To update a response headers policy configuration:

  1. Use GetResponseHeadersPolicyConfig to get the current policy's configuration.

  2. Modify the fields in the response headers policy configuration that you want to update.

  3. Call UpdateResponseHeadersPolicy, providing the entire response headers policy configuration, including the fields that you modified and those that you didn't.

Method Signature

IMPORTING

Required arguments:

IO_RSPHEADERSPOLICYCONFIG TYPE REF TO /AWS1/CL_FNTRSPHEADERSPLYCFG /AWS1/CL_FNTRSPHEADERSPLYCFG

A response headers policy configuration.

IV_ID TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The identifier for the response headers policy that you are updating.

Optional arguments:

IV_IFMATCH TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The version of the response headers policy that you are updating.

The version is returned in the cache policy's ETag field in the response to GetResponseHeadersPolicyConfig.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FNTUPRSPHEADERSPLYRS /AWS1/CL_FNTUPRSPHEADERSPLYRS