[
https://issues.apache.org/jira/browse/MESOS-5891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15390332#comment-15390332
]
Joseph Wu commented on MESOS-5891:
----------------------------------
{code}
commit 105eca66a63457ee509c58f8415a1a4d626b352a
Author: Joseph Wu <[email protected]>
Date: Fri Jul 22 15:11:36 2016 -0700
Added an appropriate content type for the /help endpoints.
The `Content-Type` header was set to "text/plain" by default in all
responses here:
https://reviews.apache.org/r/46725/
This had the adverse consequence of changing the `/help` endpoints
into plain text. Previously, the browser would see some `<html>`
tags and assume the content was HTML.
Review: https://reviews.apache.org/r/50362
{code}
> /help endpoint does not set Content-Type to HTML
> ------------------------------------------------
>
> Key: MESOS-5891
> URL: https://issues.apache.org/jira/browse/MESOS-5891
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Joseph Wu
> Priority: Critical
> Labels: mesosphere
> Fix For: 1.0.0, 1.1.0
>
>
> This change added a default {{Content-Type}} to all responses:
> https://github.com/apache/mesos/commit/b2c5d91addbae609af3791f128c53fb3a26c7d53
> Unfortunately, this changed the {{/help}} endpoint from no {{Content-Type}}
> to {{text/plain}}. For a browser to render this page correctly, we need an
> HTML content type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)