Delete requests cause 400 without reaching worker

When using a DELETE request, I am getting 400 responses and the worker is not handling the request. GET, POST, and PUT all work fine. I am using itty-router https://github.com/kwhitley/itty-router.
I am also using wrangler 2.8.1 and running it with hosted dev mode.

Example response:
HTTP/1.1 400 Bad Request
server: cloudflare
date: Wed, 01 Feb 2023 02:48:54 GMT
content-type: text/html
content-length: 155
cf-ray: -
Connection: close

<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>
</html>

I could not find anything online about issues with either workers or itty router with DELETE requests.
Was this page helpful?