You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/06 09:54:41 UTC

[jira] [Commented] (QPID-7711) [Java Broker] Set correct Content-Encoding in REST response (6.0.x)

    [ https://issues.apache.org/jira/browse/QPID-7711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958680#comment-15958680 ] 

ASF subversion and git services commented on QPID-7711:
-------------------------------------------------------

Commit 1790370 from orudyy@apache.org in branch 'java/branches/6.0.x'
[ https://svn.apache.org/r1790370 ]

QPID-7408,QPID-7711: Fix various issues with message content REST API

* Set correct Content-Encoding in REST responses for message content
* Avoid double compression when content is compressed and gzip compression is supported by the client
* Decompress compressed message content if compression is unsupported on client

The following commits have been merged with a lot of manual conflict resolutions (leaving only 6.0.x relative changes)
svn merge -c 1758395 ^/qpid/java/trunk
svn merge -c 1759379 ^/qpid/java/trunk
svn merge -c 1759829 ^/qpid/java/trunk
svn merge -c 1761399 ^/qpid/java/trunk
svn merge -c 1761561 ^/qpid/java/trunk
svn merge -c 1761567 ^/qpid/java/trunk

> [Java Broker] Set correct Content-Encoding in REST response (6.0.x)
> -------------------------------------------------------------------
>
>                 Key: QPID-7711
>                 URL: https://issues.apache.org/jira/browse/QPID-7711
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-6.0.6
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-6.0.7
>
>
> Currently the message preview in the web management console is broken but the culprit seems to be the broker.
> When trying to preview a TextMessage the broker replies with a gzip compressed response but without setting the Content-Encoding to gzip. this results in a garbled message preview on the client side.
> As a workaround one can disable compression for the httpManagement plugin.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org