Attempting to DELETE a user through REST API returns '405 Method Not Allowed'

Bug #820660 reported by Stephen A. Goss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Wishlist
Barry Warsaw

Bug Description

src/mailman/rest/docs/users.txt clearly states "The REST API can be used to add and remove users, add and remove user addresses, and change their preferred address, password, or name." When I send a DELETE request to either /3.0/users/1 or /<email address hidden>, I get a '405 Method Not Allowed' response.

$ curl -u restadmin:restpass -I http://localhost:<email address hidden>
HTTP/1.0 200 OK
Date: Wed, 03 Aug 2011 22:36:37 GMT
Server: WSGIServer/0.1 Python/2.6.5
content-length: 311

$ curl -X DELETE -u restadmin:restpass -I http://localhost:<email address hidden>
HTTP/1.0 405 Method Not Allowed
Date: Wed, 03 Aug 2011 22:34:16 GMT
Server: WSGIServer/0.1 Python/2.6.5
Content-Type: text/plain
Allow: HEAD, GET
Content-Length: 22

Tags: mailman3
Barry Warsaw (barry)
tags: added: mailman3
Barry Warsaw (barry)
Changed in mailman:
importance: Undecided → Wishlist
status: New → Confirmed
assignee: nobody → Barry Warsaw (barry)
milestone: none → 3.0.0a8
Barry Warsaw (barry)
Changed in mailman:
status: Confirmed → Fix Committed
Barry Warsaw (barry)
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.