Open In App

HTTP headers | Timing-Allow-Origin

The Timing-Allow-Origin(TAO) header is a response-type header. It is used to indicate all the origins that are permitted to read the values of attributes retrieved from the Resource Timing API’s features. The default values assigned to these attributes is “zero” as a consequence of cross-origin restrictions. 

The TAO header can be a wildcard (*) that allows all the origins to access the information related to timing simultaneously. However it is better to specify only a few origins, this can help to minimize the hazardous attacks that can leak personal information of various users leading to profound consequences. 



Syntax: 

Timing-Allow-Origin: * 

OR



Timing-Allow-Origin: <origin> [, <origin>]*

Directives:  This header accepts two directive as mentioned above and described below:

Examples: 

Timing-Allow-Origin: * 
Timing-Allow-Origin: https://www.geeksforgeeks.org 

Supported Browsers:  The browsers  are compatible with HTTP Timing-Allow-Origin header are listed below: 

Article Tags :