Merge pull request #450 from ParsePlatform/fosco.noBody
Remove _noBody from Unity SDK request.
This commit is contained in:
@@ -26,6 +26,12 @@ function handleParseHeaders(req, res, next) {
|
||||
restAPIKey: req.get('X-Parse-REST-API-Key')
|
||||
};
|
||||
|
||||
if (req.body && req.body._noBody) {
|
||||
// Unity SDK sends a _noBody key which needs to be removed.
|
||||
// Unclear at this point if action needs to be taken.
|
||||
delete req.body._noBody;
|
||||
}
|
||||
|
||||
var fileViaJSON = false;
|
||||
|
||||
if (!info.appId || !cache.apps[info.appId]) {
|
||||
|
||||
Reference in New Issue
Block a user