diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2023-08-25 20:03:13 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-25 20:03:13 +1000 |
| commit | b0fcc39fe0a192b10dcf0bdc848eaf5f30429603 (patch) | |
| tree | 30cca43f259ad646a07a7404c985679c7fdc46f3 /internal/middlewares/const.go | |
| parent | 720eb60f125675bb54e5c8fa4d6f22f39b575a00 (diff) | |
refactor: fix swagger api corp headers (#5907)
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/middlewares/const.go')
| -rw-r--r-- | internal/middlewares/const.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/middlewares/const.go b/internal/middlewares/const.go index ee9a56c08..bb42131f6 100644 --- a/internal/middlewares/const.go +++ b/internal/middlewares/const.go @@ -65,7 +65,9 @@ var ( headerValueStrictOriginCrossOrigin = []byte("strict-origin-when-cross-origin") headerValueDENY = []byte("DENY") headerValueSameOrigin = []byte("same-origin") + headerValueCrossOrigin = []byte("cross-origin") headerValueSameSite = []byte("same-site") + headerValueUnsafeNone = []byte("unsafe-none") headerValueRequireCORP = []byte("require-corp") headerValueNoCache = []byte("no-cache") headerValueNoStore = []byte("no-store") |
