You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2020/03/16 09:08:53 UTC

[GitHub] [drill] ihuzenko commented on a change in pull request #2025: DRILL-7626: Add ability to set HTTP response headers

ihuzenko commented on a change in pull request #2025: DRILL-7626: Add ability to set HTTP response headers
URL: https://github.com/apache/drill/pull/2025#discussion_r392871536
 
 

 ##########
 File path: distribution/src/main/resources/drill-override-example.conf
 ##########
 @@ -176,6 +176,15 @@ drill.exec: {
           validatePeerCerts: false,
           # true if SSL wants client authentication.
           wantClientAuth: false
+        },
+        response: {
+          # any response headers with constant values may be configured like this
+          headers: {
+            "X-XSS-Protection": "1; mode=block",
+            "X-Content-Type-Options": "nosniff",
+            "Strict-Transport-Security": "max-age=31536000;includeSubDomains",
+            "Content-Security-Policy": "default-src https:; script-src 'unsafe-inline' https:; style-src 'unsafe-inline' https:; font-src data: https:; img-src data: https:"
 
 Review comment:
   Thanks for noticing it. Created new ticket [DRILL-7642](https://issues.apache.org/jira/browse/DRILL-7642). 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services