From: Weinan Li <we...@re...> - 2015-12-23 08:47:09
|
Hi Ricardo, Could you please help to create a JIRA issue for this? -- Weinan Li / JBoss > On Dec 23, 2015, at 12:14 AM, Ricardo Veloso <ric...@fl...> wrote: > > When invoking entities with a variant with an encoding, and an IllegalStateException is thrown after a while because request headers reaches to is maximum. > > This is because setEntity on ClientInvocation adds the header to a map: > headers.header("Content-Encoding", v.getEncoding()); > > This should use a putSingle or a method headers.setEncoding should be created like setLanguage or setMediaType. > Cumprimentos / Best regards, > Ricardo Veloso > > > ------------------------------------------------------------------------------ > _______________________________________________ > Resteasy-users mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-users |