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

Consistent naming of http request methods.

    XMLWordPrintableJSON

Details

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

    Description

      Currently the http requests in libprocess/http.hpp are named post(), put(), and get(). This naming scheme did not for the addition of delete with Mesos-3152 as delete is a C++ keyword and hence that call was named deleteRequest.

      We should come up with a consistent naming scheme which is easily understandable.

      One potential solution would be to have only one request method accepting a `Request` object. See https://issues.apache.org/jira/browse/MESOS-3763?focusedCommentId=14969636&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14969636.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              js84 Jörg Schad
              Bernd Mathiske Bernd Mathiske
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: