Spaces:
Runtime error

File size: 513 Bytes
9766e10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
REQUEST_ID_HEADER = "X-Request-ID"

SECURITY_HEADERS = {
    "X-Content-Type-Options": "nosniff",
    "X-Frame-Options": "DENY",
    "Referrer-Policy": "strict-origin-when-cross-origin",
    "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
    
    "Cache-Control": "no-store, no-cache, must-revalidate max-age=0"
}

CSP_HEADER  = {
    "Content-Security-Policy": "default-src 'none'; frame-ancestors 'none';",
}

UNAUTHORIZED_HEADERS = {
    "WWW-Authenticate": "Bearer realm='api'"
}