[jira] [Commented] (SPARK-31697) HistoryServer should set Content-Type
[ https://issues.apache.org/jira/browse/SPARK-31697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17106035#comment-17106035 ] Apache Spark commented on SPARK-31697: -- User 'sarutak' has created a pull request for this issue: https://github.com/apache/spark/pull/28519 > HistoryServer should set Content-Type > - > > Key: SPARK-31697 > URL: https://issues.apache.org/jira/browse/SPARK-31697 > Project: Spark > Issue Type: Bug > Components: Web UI >Affects Versions: 3.1.0 >Reporter: Kousuke Saruta >Assignee: Kousuke Saruta >Priority: Minor > > I noticed that we will get html as plain text when we access to wrong URLs on > HistoryServer. > {code:java} > > > type="text/css"/> href="/static/vis-timeline-graph2d.min.css" type="text/css"/> rel="stylesheet" href="/static/webui.css" type="text/css"/> rel="stylesheet" href="/static/timeline-view.css" type="text/css"/> src="/static/sorttable.js"> src="/static/jquery-3.4.1.min.js"> src="/static/vis-timeline-graph2d.min.js"> src="/static/bootstrap.bundle.min.js"> src="/static/initialize-tooltips.js"> src="/static/table.js"> src="/static/timeline-view.js"> src="/static/log-view.js"> src="/static/webui.js">setUIRoot('') > > href="/static/spark-logo-77x50px-hd.png"> > Not Found > > > > > > > > > 3.1.0-SNAPSHOT > > Not Found > > > > > > Application local-1589239 not found. > > > > > {code} > > The reason is Content-Type not set. > {code:java} > HTTP/1.1 404 Not Found > Date: Wed, 13 May 2020 06:59:29 GMT > Cache-Control: no-cache, no-store, must-revalidate > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > X-Content-Type-Options: nosniff > Content-Length: 1778 > Server: Jetty(9.4.18.v20190429) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-31697) HistoryServer should set Content-Type
[ https://issues.apache.org/jira/browse/SPARK-31697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17106034#comment-17106034 ] Apache Spark commented on SPARK-31697: -- User 'sarutak' has created a pull request for this issue: https://github.com/apache/spark/pull/28519 > HistoryServer should set Content-Type > - > > Key: SPARK-31697 > URL: https://issues.apache.org/jira/browse/SPARK-31697 > Project: Spark > Issue Type: Bug > Components: Web UI >Affects Versions: 3.1.0 >Reporter: Kousuke Saruta >Assignee: Kousuke Saruta >Priority: Minor > > I noticed that we will get html as plain text when we access to wrong URLs on > HistoryServer. > {code:java} > > > type="text/css"/> href="/static/vis-timeline-graph2d.min.css" type="text/css"/> rel="stylesheet" href="/static/webui.css" type="text/css"/> rel="stylesheet" href="/static/timeline-view.css" type="text/css"/> src="/static/sorttable.js"> src="/static/jquery-3.4.1.min.js"> src="/static/vis-timeline-graph2d.min.js"> src="/static/bootstrap.bundle.min.js"> src="/static/initialize-tooltips.js"> src="/static/table.js"> src="/static/timeline-view.js"> src="/static/log-view.js"> src="/static/webui.js">setUIRoot('') > > href="/static/spark-logo-77x50px-hd.png"> > Not Found > > > > > > > > > 3.1.0-SNAPSHOT > > Not Found > > > > > > Application local-1589239 not found. > > > > > {code} > > The reason is Content-Type not set. > {code:java} > HTTP/1.1 404 Not Found > Date: Wed, 13 May 2020 06:59:29 GMT > Cache-Control: no-cache, no-store, must-revalidate > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > X-Content-Type-Options: nosniff > Content-Length: 1778 > Server: Jetty(9.4.18.v20190429) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org