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 2B038200BC4 for ; Fri, 14 Oct 2016 16:10:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2A35D160AF7; Fri, 14 Oct 2016 14:10:24 +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 A8660160AD0 for ; Fri, 14 Oct 2016 16:10:23 +0200 (CEST) Received: (qmail 60918 invoked by uid 500); 14 Oct 2016 14:10:21 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 60114 invoked by uid 99); 14 Oct 2016 14:10:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2016 14:10:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 44B342C4C7D for ; Fri, 14 Oct 2016 14:10:21 +0000 (UTC) Date: Fri, 14 Oct 2016 14:10:21 +0000 (UTC) From: "Colm O hEigeartaigh (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CXF-6850) javax.ws.rs.core.Request implementation doesn't match Accept-Encoding: * for any encoding value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 14 Oct 2016 14:10:24 -0000 [ https://issues.apache.org/jira/browse/CXF-6850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colm O hEigeartaigh closed CXF-6850. ------------------------------------ > javax.ws.rs.core.Request implementation doesn't match Accept-Encoding: * for any encoding value > ------------------------------------------------------------------------------------------------- > > Key: CXF-6850 > URL: https://issues.apache.org/jira/browse/CXF-6850 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 3.1.6 > Reporter: Jim Ma > Assignee: Jim Ma > Fix For: 3.0.10, 3.1.7, 3.2.0 > > > When client side set accept encoding to "*" value and send request to following operation, client always get notAcceptable . > @GET > @Path("/test") > public Response test(@Context Request req) { > List list = Variant.encodings("CP1250", "UTF-8") > ... > if (null == req.selectVariant(list)) > return Response.notAcceptable(list).build(); > return Response.ok("entity").build(); > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)