From e53b1bc4c63a0a6cbba5b2a835757d3636db9200 Mon Sep 17 00:00:00 2001 From: mayo t Date: Sat, 30 Mar 2024 22:36:28 +0900 Subject: [PATCH] =?UTF-8?q?DELETE=E3=83=A1=E3=82=BD=E3=83=83=E3=83=89?= =?UTF-8?q?=E3=81=8C=E5=91=BC=E3=81=B0=E3=82=8C=E3=81=9F=E9=9A=9B=E3=81=AE?= =?UTF-8?q?=E5=87=A6=E7=90=86=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index bfd5ba5..9523f55 100644 --- a/index.js +++ b/index.js @@ -23,6 +23,9 @@ const server = http console.info(`[${now}] Data posted: ${rawData}`); }); break; + case 'DELETE': + res.write(`DELETE ${req.url}\n`); + break; default: break; }