restfulapi/restful-api — pull request #13 by hvthor (2014-07-09 12:36:53+00:00)
Title: Fix for 415 Unsupported media type with delete

This issue is occurring when no content length is set in delete request (in a simple backbone.js application).
Statement request.getContentLength() evaluates to -1 for the request, in which case an attempt is done to parse the request content that doesn't exist, and it fails.