HTTP headers are components of the header section of request and response messages
that are transmitted over HTTP. HTTP headers define the required resources, the behavior
of clients or servers that process the messages, and the parameters of an HTTP transaction.
You can add HTTP headers to back-to-origin HTTP requests.
Procedure
- Log on to the DCDN console.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, find the domain name that you want to manage, and click Configure in the Actions column.
- In the left-side navigation pane on the details page of the specified domain name,
click Origin Fetch.
- Click the Custom Origin HTTP Header tab.
- Click Add.
- In the Custom HTTP Response Header Settings dialog box, select a value for Parameter and set a value for Value.

Parameter |
Example |
Description |
Parameter |
Custom Origin Header |
You can select Custom Origin Header or select a preset response header.
|
Custom Parameter |
Content-Type |
The name of the custom response header is Content-Type.
|
Value |
text/html |
You can specify one or more values for a response header. Separate multiple values
with commas (,).
|
- Click OK.
Configuration example
Sample scenario: Adds a response header to specify that the content returned to users is of a specified
MIME type.
Configuration: See the following figure.

Expected result: The origin server adds the Content-Type header whose value is text/html to the response
returned to DCDN nodes. If the configuration is updated, the value is overwritten.