kwhitley / itty-router

A little router.
MIT License
1.7k stars 77 forks source link

Add HEAD type #153

Closed Maximo-Guk closed 1 year ago

Maximo-Guk commented 1 year ago

I was working with itty-router and tried adding a HEAD route when I was getting a type error, itty-router seemed to handle the request fine for me and based on this comment https://github.com/kwhitley/itty-router/issues/87#issuecomment-1034023188 . I believe it's just missing in the types

kwhitley commented 1 year ago

Gonna merge this so you get into the contributors, but v3.x will not be subject to further release.

I've also added HEAD to the v4.x/next branch as well, so when that releases (hopefully in the next couple days), expect that functionality :)