Lines Matching refs:Header
57 r.Header.Add("Cross-Origin-Opener-Policy", "same-origin")
58 r.Header.Add("Cross-Origin-Embedder-Policy", "require-corp")
59 w.Header().Add("Cross-Origin-Opener-Policy", "same-origin")
60 w.Header().Add("Cross-Origin-Embedder-Policy", "require-corp")
61 w.Header().Set("Access-Control-Allow-Origin", "*")
62 w.Header().Set("Access-Control-Allow-Credentials", "true")
63 … w.Header().Set("Access-Control-Allow-Headers", "x-requested-with, authorization, blade-auth") //*
64 … w.Header().Set("Access-Control-Allow-Methods", "*") //*
65 w.Header().Set("Access-Control-Max-Age", "3600")
66 w.Header().Set("data-version", version)
189 contentType := r.Header["Content-Type"]
203 w.Header().Set("Access-Control-Allow-Origin", "*")
204 w.Header().Set("request_info", serveInfo)
335 w.Header().Set("content-type", "text/json")
337 contentType := r.Header["Content-Type"]