[
https://issues.apache.org/jira/browse/FLINK-7226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378728#comment-16378728
]
ASF GitHub Bot commented on FLINK-7226:
---------------------------------------
GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/5590
[hotfix][REST] Fix CONTENT_TYPE header
This PR reverts an accidental modification to the REST CONTENT_TYPE header
used by the new rest handlers.
This constants was introduced in
https://issues.apache.org/jira/browse/FLINK-7226.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink hotfix_rest_ct
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5590.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5590
----
commit 952a8e87a27587d2cbf4a55c05a5772e73133d09
Author: zentol <chesnay@...>
Date: 2018-02-27T15:04:57Z
[hotfix][REST] Fix CONTENT_TYPE header
----
> REST responses contain invalid content-encoding header
> ------------------------------------------------------
>
> Key: FLINK-7226
> URL: https://issues.apache.org/jira/browse/FLINK-7226
> Project: Flink
> Issue Type: Bug
> Components: Webfrontend
> Affects Versions: 1.2.0, 1.1.4, 1.3.1, 1.4.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Fix For: 1.4.0, 1.3.2
>
>
> FLINK-5705 made changes to the {{RuntimeMonitorHandler}} to set the
> {{content-encoding}} header to {{UTF-8}}. This however isn't a valid value
> for this header, and should instead be included in the {{content-type}}
> header.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)