-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50362/
-----------------------------------------------------------
(Updated July 22, 2016, 3:24 p.m.)
Review request for mesos, Anand Mazumdar, Greg Mann, and Artem Harutyunyan.
Changes
-------
Use the other constructor of `HTTP::OK`.
Repository: mesos
Description
-------
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.
Diffs (updated)
-----
3rdparty/libprocess/src/help.cpp 5bb1ddd8ae4c180972e91b4b4ac6d83d65c4a4b0
Diff: https://reviews.apache.org/r/50362/diff/
Testing
-------
Started a master and hit `/help` and `/help/master`. Confirmed that I did not get a wall
of javascript in plain text.
Thanks,
Joseph Wu
|