Modify custom HTTP headers.

Request parameters

Parameters Type Required Example values Description
Action String Yes ModifyHttpHeaderConfig The name of this interface. Value: ModifyHttpHeaderConfig
ConfigID String Yes. 892783 Configuration ID to be modified.
DomainName String Yes. Your CDN domain name.
HeaderKey String Yes. content-type

HTTP header parameter. Value:

  • content-type
  • cache-control
  • content-disposition
  • content-language
  • expires
  • access-control-allow-origin
  • access-control-allow-methods
  • access-control-max-age
HeaderValue String Yes. application HTTP header parameter value.

Return parameters

Parameters Type Example values Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 The ID of the request.


Request example
&public request parameters
Normal return example
  • JSON format

Exception return example
  • JSON format

        "Message":"The request processing has failed due to some unknown error.",