Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9453

Libprocess does not handle "identity;q=0" Accept-Encoding encoding.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      RFC 7231, as well as the relevant libprocess comment 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:

      $ 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":[]}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bennoe Benno Evers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: