mcavage/node-restify — pull request #445 by olafur (2013-09-12 16:07:18+00:00)
Title: Allow content-length header in DELETE

Be more tolerant and allow a content-length header in DELETE.

Nginx requires a 'content-length' header in http DELETE messages. If the header does not exist, nginx returns a 411 error. A simple workaround is to add a 'content-length' header with value 0. Currently restify strips away 'content-length' headers in DELETE but this pull request changes that.