Patch failing delete (#1960)

* Patch failing delete

* Fixing unit test
This commit is contained in:
Florent Vilmart
2016-05-31 16:42:56 -04:00
committed by Drew
parent 3997b1aa5a
commit 5176efbe16
2 changed files with 5 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ function handleParseHeaders(req, res, next) {
}
if (req.body._ContentType) {
req.headers['content-type'] = req.body._ContentType;
delete req.body_contentType;
delete req.body._ContentType;
}
} else {
return invalidRequest(req, res);