Will this fix it?

This commit is contained in:
Jesse Wierzbinski 2024-04-14 02:56:20 -10:00
parent c756686de5
commit 4cee92f22d
No known key found for this signature in database

View file

@ -113,7 +113,7 @@ export const processRoute = async (
}
// Check if Content-Type header is missing if there is a body
if (request.body) {
if (request.clone().body) {
if (!request.headers.has("Content-Type")) {
return errorResponse(
`Content-Type header is missing but required on method ${request.method}`,