Closed Bug 1269252 Opened 8 years ago Closed 8 years ago

Using callback parameter with REST API causes read-only accessor error in Bugzilla/API/Server.pm

Categories

(Bugzilla :: WebService, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 6.0

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

Specifying callback= parameter no longer works with the latest versioned API code due to content_type being a ro parameter. It needs to be able to be changed if the code detects a callback= parameter has been used such as for JSONP.

dkl
Attached patch 1269252_1.patchSplinter Review
Attachment #8747584 - Flags: review?(dylan)
Comment on attachment 8747584 [details] [diff] [review]
1269252_1.patch

r=dylan
Attachment #8747584 - Flags: review?(dylan) → review+
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
   acf611b..0b25c5c  master -> master
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 6.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: