This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ var methodOverride = (options) => async function methodOverride2(c, next) {
return app.fetch(request, c.env, getExecutionCtx(c));
}
}
if (contentType === "application/x-www-form-urlencoded") {
if (contentType?.startsWith("application/x-www-form-urlencoded")) {
const params = await parseBody(clonedRequest);
const method = params[methodFormName];
if (method) {