All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Configure HTTP headers

Last updated:2020-11-26 19:50:22

Click Configure in the left navigation pane, find the domain name that you want to configure, and then click Manage in the Operate column. On the page that appears, click Set Http Header in the left navigation pane.

27.jpg

28.jpg

Click Add Http Header. In the dialog box that appears, set the Type and Value parameters.

29.jpg Click Ok. The HTTP header is configured.

The following table describes the common HTTP headers.

Parameter Description
Content-Type The MIME type of the content returned to the client program.
Cache-Control The cache policy that requests and responses follow.
Content-Disposition The default file name when the requested content is saved as a file on the client program.
Content-Language The language of the returned content for the intended audience.
Expires The date and time after which the response is considered stale.
Access-Control-Allow-Origin The origin servers from which cross-origin requests are allowed.
Access-Control-Allow-Methods The request methods that are allowed for cross-origin requests.
Access-Control-Max-Age The time-to-live (TTL) value during which the response can be cached on the client program for a request that prefetches a particular resource.
Access-Control-Expose-Headers The headers that can be exposed as part of the response.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback