DELETE operations do not handle all success return codes properly

Bug #1204734 reported by Reagan Sanders
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar WebDAV plugin
Fix Released
Undecided
Reagan Sanders

Bug Description

Per RFC 2616 S9.7, 200, 202, and 204 are all valid success responses for a delete operation. For this use case, 202 probably isn't a very good sign (it means the deletion is queued but hasn't taken place yet), but it probably shouldn't be fatal as it currently is. 200 definitely shouldn't produce any error output, as it does currently (a squashed curl_http_error erroneously stating that the delete failed), since it's equivalent to a 204 except for indicting the presence of an entity in the response.

Related branches

Revision history for this message
Reagan Sanders (vexo) wrote :
Revision history for this message
Reagan Sanders (vexo) wrote :
Reagan Sanders (vexo)
Changed in bzr-webdav:
assignee: nobody → Reagan Sanders (vexofp)
status: New → In Progress
Vincent Ladeuil (vila)
Changed in bzr-webdav:
status: In Progress → 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.