flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From greghogan <...@git.apache.org>
Subject [GitHub] flink pull request #4392: [FLINK-7226] [webUI] Properly include UTF-8 in con...
Date Tue, 25 Jul 2017 14:24:22 GMT
Github user greghogan commented on a diff in the pull request:

    --- Diff: flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JobCancellationWithSavepointHandlers.java
    @@ -266,7 +266,7 @@ public void onComplete(Throwable failure, Object resp) throws Throwable
     			response.headers().set(HttpHeaders.Names.LOCATION, location);
    -			response.headers().set(HttpHeaders.Names.CONTENT_TYPE, "application/json");
    +			response.headers().set(HttpHeaders.Names.CONTENT_TYPE, "application/json; charset=UTF-8");
    --- End diff --
    Should this also use `ENCODING.name()`?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message