All of the API's DELETE implementations return piston.utils.rc.DELETED: status code 204 (“No Content”) and an empty body. It sounds as if the error is in that area somewhere... What should happen AFAICS is that Django (in conditional_content_removal) strips the empty text body from the response, but as Raphaël has pointed out elsewhere, perhaps that leaves a file-like object unclosed or something.
All of the API's DELETE implementations return piston. utils.rc. DELETED: status code 204 (“No Content”) and an empty body. It sounds as if the error is in that area somewhere... What should happen AFAICS is that Django (in conditional_ content_ removal) strips the empty text body from the response, but as Raphaël has pointed out elsewhere, perhaps that leaves a file-like object unclosed or something.