Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set content on the XmlHttpRequest object when sending a DELETE request.
Nginx will consistently reply with a 411 - Content-Length Required error when sending a DELETE request with no Content-Length. Chrome does not send a content-length with a DELETE request unless there is content in the request. Doesn't look like they're gonna fix it (see https://groups.google.com/a/chromium.org/d/msg/chromium-bugs/tkF4sDBPYrs/DFN1cMs5bo4J).
- Loading branch information