-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57506/
-----------------------------------------------------------
(Updated March 10, 2017, 12:36 p.m.)
Review request for Ambari, Balázs Bence Sári, Laszlo Puskas, Robert Levas, and
Sebastian Toader.
Changes
-------
added unittest
Bugs: AMBARI-20394
https://issues.apache.org/jira/browse/AMBARI-20394
Repository: ambari
Description
-------
No Content-Type HTTP header is set when downloading woff or ttf files.
Diffs (updated)
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
a2441bd
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariServerTest.java
85c47fc
Diff: https://reviews.apache.org/r/57506/diff/2/
Changes: https://reviews.apache.org/r/57506/diff/1-2/
Testing
-------
tested with curl:
curl -vv --user admin:admin --insecure
https://c6401.ambari.apache.org:8443/font/fontawesome-webfont.woff?v=3.2.1
curl -vv --user admin:admin --insecure
https://c6401.ambari.apache.org:8443/font/fontawesome-webfont.ttf
waiting for unit test results..
Thanks,
Attila Magyar