Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 09263200BCC for ; Tue, 29 Nov 2016 18:19:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 08636160AFC; Tue, 29 Nov 2016 17:19:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 51957160B27 for ; Tue, 29 Nov 2016 18:19:01 +0100 (CET) Received: (qmail 20421 invoked by uid 500); 29 Nov 2016 17:19:00 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 19820 invoked by uid 99); 29 Nov 2016 17:19:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2016 17:19:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DF1842C03E2 for ; Tue, 29 Nov 2016 17:18:59 +0000 (UTC) Date: Tue, 29 Nov 2016 17:18:59 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-5109) Invalid Content-Encoding Header in REST API responses MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 29 Nov 2016 17:19:02 -0000 [ https://issues.apache.org/jira/browse/FLINK-5109?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1570= 5904#comment-15705904 ]=20 ASF GitHub Bot commented on FLINK-5109: --------------------------------------- Github user Hapcy closed the pull request at: https://github.com/apache/flink/pull/2892 > Invalid Content-Encoding Header in REST API responses > ----------------------------------------------------- > > Key: FLINK-5109 > URL: https://issues.apache.org/jira/browse/FLINK-5109 > Project: Flink > Issue Type: Bug > Components: Web Client, Webfrontend > Affects Versions: 1.1.0, 1.2.0, 1.1.1, 1.1.2, 1.1.3 > Reporter: M=C3=B3ger Tibor L=C3=A1szl=C3=B3 > Labels: http-headers, rest_api > > On REST API calls the Flink runtime responds with the header Content-Enco= ding, containing the value "utf-8". According to the HTTP/1.1 standard this= header is invalid. ( https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.htm= l#sec3.5 )=20 > Possible acceptable values are: gzip, compress, deflate. Or it should be = omitted. > The invalid header may cause malfunction in projects building against Fli= nk. > The invalid header may be present in earlier versions aswell. > Proposed solution: Remove lines from the project, where CONTENT_ENCODING = header is set to "utf-8". (I could do this in a PR.) > Possible solution but may need further knowledge and skills than mine: In= troduce content-encoding. Doing so may need some configuration beacuse then= Flink would have to encode the responses properly (even paying attention t= o the request's Accept-Encoding headers). -- This message was sent by Atlassian JIRA (v6.3.4#6332)