Github user krishna-pandey commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19419#discussion_r144565082
  
    --- 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 --
    
    Making it to Boolean.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to