Closed
Bug 790044
Opened 12 years ago
Closed 12 years ago
Add a way to make a DELETE call on the request API
Categories
(Add-on SDK Graveyard :: General, defect, P3)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 643156
People
(Reporter: peregrino, Unassigned)
Details
It's possible to make POST, GET, and PUT requests with the request API, but not DELETE.
Comment 1•12 years ago
|
||
No HEAD of TRACE either presumably. It might make sense to just have a request(type) method to cover all the other less-used methods.
Reporter | ||
Comment 2•12 years ago
|
||
You mean additionally to adding a .delete() method or just use this request(type) for DELETE and all the rest?
Comment 3•12 years ago
|
||
(In reply to Hernán Rodriguez Colmeiro (:peregrino) from comment #2)
> You mean additionally to adding a .delete() method or just use this
> request(type) for DELETE and all the rest?
The latter would be my suggestion, I'd probably prefer to use that for PUT too but since it already exists there isn't much point in breaking it now.
Priority: -- → P3
Bug 643156 has a patch to add DELETE.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•