Skip to content

Commit

Permalink
[dagit] Remove clear-site-data header (#8134)
Browse files Browse the repository at this point in the history
### Summary & Motivation

We don't really need this, there's useful stuff in our site data.

### How I Tested These Changes

Run dagit, verify that the header is not included in the response.
  • Loading branch information
hellendag authored and OwenKephart committed Jun 2, 2022
1 parent 10dc973 commit 45e5a3e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python_modules/dagit/dagit/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def build_middleware(self) -> List[Middleware]:
def make_security_headers(self) -> dict:
return {
"Cache-Control": "no-store",
"Clear-Site-Data": "*",
"Feature-Policy": "microphone 'none'; camera 'none'",
"Referrer-Policy": "strict-origin-when-cross-origin",
"X-Content-Type-Options": "nosniff",
Expand Down

0 comments on commit 45e5a3e

Please sign in to comment.