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

The Location header when non-leading master redirects to leading master is incomplete.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.25.0
    • 1.0.0
    • HTTP API, master
    • 3 masters, 10 slaves

    Description

      The master now sets a location header, but it's incomplete. The path of the URL isn't set. Consider an example:

      > cat /tmp/subscribe-1072944352375841456 | httpp POST 127.1.0.3:5050/api/v1/scheduler Content-Type:application/x-protobuf
      POST /api/v1/scheduler HTTP/1.1
      Accept: application/json
      Accept-Encoding: gzip, deflate
      Connection: keep-alive
      Content-Length: 123
      Content-Type: application/x-protobuf
      Host: 127.1.0.3:5050
      User-Agent: HTTPie/0.9.0
      
      
      
      +-----------------------------------------+
      | NOTE: binary data not shown in terminal |
      +-----------------------------------------+
      
      HTTP/1.1 307 Temporary Redirect
      Content-Length: 0
      Date: Fri, 26 Feb 2016 00:54:41 GMT
      Location: //127.1.0.1:5050
      

      Attachments

        Issue Links

          Activity

            People

              ashwinmurthy Ashwin Murthy
              BenWhitehead Ben Whitehead
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: