[ https://issues.apache.org/jira/browse/MESOS-9490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769234#comment-16769234 ]
Benno Evers commented on MESOS-9490: ------------------------------------ [~bmahler], the full code which originally hit this issue is pasted in the linked issue, a more minimal version looks like this: {noformat} TEST_F(MasterLoadTest, DISABLED_AcceptEncoding) { Try<Owned<cluster::Master>> master = StartMaster(); Headers authHeaders = createBasicAuthHeaders(DEFAULT_CREDENTIAL); Headers acceptGzipHeaders = {{"Accept-Encoding", "gzip"}}; auto response = process::http::get( master.get()->pid, "/state", None(), authHeaders + acceptGzipHeaders); AWAIT_READY(response); } {noformat} > Support accepting gzipped responses in libprocess > ------------------------------------------------- > > Key: MESOS-9490 > URL: https://issues.apache.org/jira/browse/MESOS-9490 > Project: Mesos > Issue Type: Improvement > Reporter: Benno Evers > Priority: Major > Labels: libprocess > > Currently all libprocess endpoints support the serving of gzipped responses > when the client is requesting this with an `Accept-Encoding: gzip` header. > However, libprocess does not support receiving gzipped responses, failing > with a decode error in this case. > For symmetry, we should try to support compression in this case as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)