Benno Evers created MESOS-9453:
----------------------------------
Summary: Libprocess does not handle "identity" encoding rules
Key: MESOS-9453
URL: https://issues.apache.org/jira/browse/MESOS-9453
Project: Mesos
Issue Type: Bug
Reporter: Benno Evers
[RFC 7231|https://tools.ietf.org/html/rfc7231#section-5.3.4], as well as the
relevant [libprocess
comment|https://github.com/apache/mesos/blob/dad74012fa02a7fbf61b09968d9b7e9c730b1c97/3rdparty/libprocess/src/http.cpp#L315-L325]
mention special handling of the "identity" encoding.
However, this is currently ignored in mesos, which can lead to incorrect
behaviour in combination with MESOS-9451:
{noformat}
$ nc localhost 5050
GET /tasks HTTP/1.1
Accept-Encoding: gzip, identity;q=0
HTTP/1.1 200 OK
Date: Wed, 05 Dec 2018 11:02:24 GMT
Content-Type: application/json
Content-Length: 12
{"tasks":[]}
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)