[Bug 28383] New: 'get cookie' is idempotent and should be implemented as a GET not a POST

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28383

            Bug ID: 28383
           Summary: 'get cookie' is idempotent and should be implemented
                    as a GET not a POST
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: simon.m.stewart@gmail.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

In https://w3c.github.io/webdriver/webdriver-spec.html#getcookie "getCookie" is
defined as a POST. This is done so that the name can be passed through.
However, since this doesn't change the state of the browser or the session,
this would be better modeled as a GET with the name parameter added to the URL.
The suggested template would be:

/session/{sessionId}/cookie/{name}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 31 March 2015 15:32:23 UTC