Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19419#discussion_r144482977
  
    --- Diff: 
core/src/main/scala/org/apache/spark/internal/config/package.scala ---
    @@ -420,6 +420,25 @@ package object config {
           .toSequence
           .createWithDefault(Nil)
     
    +
    +  private[spark] val UI_X_XSS_PROTECTION =
    +    ConfigBuilder("spark.ui.xXssProtection")
    +      .doc("Value for HTTP X-XSS-Protection response header")
    +      .stringConf
    +      .createOptional
    +
    +  private[spark] val UI_X_CONTENT_TYPE_OPTIONS =
    +    ConfigBuilder("spark.ui.xContentTypeOptions.enabled")
    +      .doc("Set to 'true' for setting X-Content-Type-Options HTTP response 
header to 'nosniff'")
    +      .stringConf
    --- End diff --
    
    This should be a boolean option then?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to