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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            bennoe Benno Evers

            Dates

              Created:
              Updated:

              Slack

                Issue deployment