PluginProbe
HTTP Headers / trunk
HTTP Headers vtrunk
1.19.5 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.12.0 1.12.1 1.12.2 1.13.0 1.13.1 1.13.2 1.13.3 1.13.4 1.14.0 1.14.1 1.14.2 1.15.0 All 60 releases
http-headers / views / includes / config.inc.php

config.inc.php in HTTP Headers trunk, at views/includes/config.inc.php

128 lines 5.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 exit;
4 }
5 $http_headers_bools = array(
6 0 => __('Off', 'http-headers'),
7 1 => __('On', 'http-headers'),
8 );
9
10 $http_headers_categories = array(
11 'security' => __('Security', 'http-headers'),
12 'access-control' => __('Access control', 'http-headers'),
13 'authentication' => __('Authentication', 'http-headers'),
14 'compression' => __('Compression', 'http-headers'),
15 'caching' => __('Caching', 'http-headers'),
16 'misc' => __('Miscellaneous', 'http-headers'),
17 );
18
19 $http_headers_headers = array(
20 'x-frame-options' => array('X-Frame-Options', 'hh_x_frame_options', 'security'),
21 'x-xss-protection' => array('X-XSS-Protection', 'hh_x_xxs_protection', 'security'),
22 'x-content-type-options' => array('X-Content-Type-Options', 'hh_x_content_type_options', 'security'),
23 'x-ua-compatible' => array('X-UA-Compatible', 'hh_x_ua_compatible', 'misc'),
24 'strict-transport-security' => array('Strict-Transport-Security', 'hh_strict_transport_security', 'security'),
25 'p3p' => array('P3P', 'hh_p3p', 'access-control'),
26 'referrer-policy' => array('Referrer-Policy', 'hh_referrer_policy', 'security'),
27 'content-security-policy' => array('Content-Security-Policy', 'hh_content_security_policy', 'security'),
28 'access-control-allow-origin' => array('Access-Control-Allow-Origin', 'hh_access_control_allow_origin', 'access-control'),
29 'access-control-allow-credentials' => array('Access-Control-Allow-Credentials', 'hh_access_control_allow_credentials', 'access-control'),
30 'access-control-max-age' => array('Access-Control-Max-Age', 'hh_access_control_max_age', 'access-control'),
31 'access-control-allow-methods' => array('Access-Control-Allow-Methods', 'hh_access_control_allow_methods', 'access-control'),
32 'access-control-allow-headers' => array('Access-Control-Allow-Headers', 'hh_access_control_allow_headers', 'access-control'),
33 'access-control-expose-headers' => array('Access-Control-Expose-Headers', 'hh_access_control_expose_headers', 'access-control'),
34 'content-encoding' => array('Content-Encoding', 'hh_content_encoding', 'compression'),
35 'vary' => array('Vary', 'hh_vary', 'compression'),
36 'x-powered-by' => array('X-Powered-By', 'hh_x_powered_by', 'misc'),
37 'www-authenticate' => array('WWW-Authenticate', 'hh_www_authenticate', 'authentication'),
38 'cache-control' => array('Cache-Control', 'hh_cache_control', 'caching'),
39 'expires' => array('Expires', 'hh_expires', 'caching'),
40 'pragma' => array('Pragma', 'hh_pragma', 'caching'),
41 'age' => array('Age', 'hh_age', 'caching'),
42 'connection' => array('Connection', 'hh_connection', 'misc'),
43 'cookie-security' => array('Cookie security', 'hh_cookie_security', 'security'),
44 'expect-ct' => array('Expect-CT', 'hh_expect_ct', 'security'),
45 'timing-allow-origin' => array('Timing-Allow-Origin', 'hh_timing_allow_origin', 'access-control'),
46 'custom-headers' => array('Custom headers', 'hh_custom_headers', 'misc'),
47 'x-dns-prefetch-control' => array('X-DNS-Prefetch-Control', 'hh_x_dns_prefetch_control', 'security'),
48 'x-download-options' => array('X-Download-Options', 'hh_x_download_options', 'security'),
49 'x-permitted-cross-domain-policies' => array('X-Permitted-Cross-Domain-Policies', 'hh_x_permitted_cross_domain_policies', 'security'),
50 'report-to' => array('Report-To', 'hh_report_to', 'security'),
51 'feature-policy' => array('Feature-Policy', 'hh_feature_policy', 'security'),
52 'permissions-policy' => array('Permissions-Policy', 'hh_permissions_policy', 'security'),
53 'clear-site-data' => array('Clear-Site-Data', 'hh_clear_site_data', 'security'),
54 'content-type' => array('Content-Type', 'hh_content_type', 'misc'),
55 'cross-origin-resource-policy' => array('Cross-Origin-Resource-Policy', 'hh_cross_origin_resource_policy', 'security'),
56 'nel' => array('NEL', 'hh_nel', 'misc'),
57 'cross-origin-embedder-policy' => array('Cross-Origin-Embedder-Policy', 'hh_cross_origin_embedder_policy', 'security'),
58 'cross-origin-opener-policy' => array('Cross-Origin-Opener-Policy', 'hh_cross_origin_opener_policy', 'security'),
59 'x-robots-tag' => array('X-Robots-Tag', 'hh_x_robots_tag', 'misc'),
60 );
61
62 $http_headers_list = array(
63 'Accept',
64 'Accept-Charset',
65 'Accept-Encoding',
66 'Accept-Language',
67 'Accept-Datetime',
68 'Authorization',
69 'Cache-Control',
70 'Connection',
71 'Permanent',
72 'Cookie',
73 'Content-Length',
74 'Content-MD5',
75 'Content-Type',
76 'Date',
77 'Expect',
78 'Forwarded',
79 'From',
80 'Host',
81 'Permanent',
82 'If-Match',
83 'If-Modified-Since',
84 'If-None-Match',
85 'If-Range',
86 'If-Unmodified-Since',
87 'Max-Forwards',
88 'Origin',
89 'Pragma',
90 'Proxy-Authorization',
91 'Range',
92 'Referer',
93 'TE',
94 'User-Agent',
95 'Upgrade',
96 'Via',
97 'Warning',
98 'X-Requested-With',
99 'DNT',
100 'X-Forwarded-For',
101 'X-Forwarded-Host',
102 'X-Forwarded-Proto',
103 'Front-End-Https',
104 'X-Http-Method-Override',
105 'X-ATT-DeviceId',
106 'X-Wap-Profile',
107 'Proxy-Connection',
108 'X-UIDH',
109 'X-Csrf-Token',
110 'X-PINGOTHER',
111 'X-WP-Nonce',
112 );
113
114 $http_headers_cors_safe_request_headers = array(
115 'Accept',
116 'Accept-Language',
117 'Content-Language',
118 'Content-Type',
119 );
120
121 $http_headers_cors_safe_response_headers = array(
122 'Cache-Control',
123 'Content-Language',
124 'Content-Type',
125 'Expires',
126 'Last-Modified',
127 'Pragma',
128 );