All Products
Document Center

Set HTTP header

Last Updated: Nov 15, 2018


This function allows you to set the HTTP response header. Currently, nine HTTP response header parameters are available. The following table describes these parameters.

Parameter Description
Content-Type Specifies the content type of the response returned to the client.
Cache-Control Specifies the cache mechanism for the requests from and responses to the client.
Content-Disposition Specifies the name of the default file to be activated in the file download settings when the response is returned to the client.
Content-Language Specifies the language of the response returned to the client.
Expires Specifies the expiration time of the response returned to the client.
Access-Control-Allow-Origin Specifies the allowed CORS request sources.
Access-Control-Allow-Methods Specifies the allowed CORS request methods.
Access-Control-Max-Age Specifies the duration to cache the returned result for a prefetch request initiated by the client for a specific resource.
Access-Control-Expose-Headers Specifies the allowed custom header information.


  • The HTTP response header setting affects the responses returned to clients (for example, browsers) for all resources under the CDN domain. However, it does not affect the actions of the cache server.
  • Currently, only the preceding HTTP header parameters are supported. If you require more HTTP header settings, submit a ticket.
  • The Access-Control-Allow-Origin parameter can be set to a wildcard (*) (which indicates all domain names) or a full domain name, such as Currently, wildcard domain names are not supported.


  1. Go to the Domain Names page in the VOD console and select a domain name. On the Domain Configuration page, set the HTTP header.

  2. Click Modify to manage current HTTP header rules.

  3. Click Add to add a custom HTTP header.

    HTTP header