Closed Bug 914196 Opened 11 years ago Closed 11 years ago

Documentation for User.login should state cookies not used for JSONRPC and REST when making future connections

Categories

(Bugzilla :: WebService, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/User.html#login states:

Returns

    On success, a hash containing two items, id, the numeric id of the user that was logged in, and a token which can be passed in the parameters as authentication in other calls. A set of http cookies is also sent with the response. These cookies *or* the token can be sent along with any future requests to the webservice, for the duration of the session.

The text needs to be changes to state that cookies are only accepted for POST/PUT requests when using JSONRPC or REST endpoints for the API.

Will attach a patch.

dkl
Attached patch 914196_1.patchSplinter Review
Attachment #801619 - Flags: review?(glob)
Comment on attachment 801619 [details] [diff] [review]
914196_1.patch

r=glob
Attachment #801619 - Flags: review?(glob) → review+
Flags: approval+
Target Milestone: --- → Bugzilla 5.0
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified Bugzilla/WebService/User.pm
Committed revision 8732.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: