diff --git a/packages/react-server/core/ReactServerAgent.js b/packages/react-server/core/ReactServerAgent.js index 697853b8f..e25447e69 100644 --- a/packages/react-server/core/ReactServerAgent.js +++ b/packages/react-server/core/ReactServerAgent.js @@ -24,8 +24,10 @@ var API = { return req; }, - del (url) { - return new Request('DELETE', url, API.cache()); + del (url, data) { + var req = new Request('DELETE', url, API.cache()); + if (data) req.send(data); + return req; }, patch (url, data) {