elysiajs / eden

Fully type-safe Elysia client
MIT License
147 stars 37 forks source link

🐞 fix: use correct uppercase http verbs #68

Closed m1212e closed 5 months ago

m1212e commented 5 months ago

By standard the "PATCH" HTTP verb is not normalized: https://fetch.spec.whatwg.org/#example-normalization This leads to very hard to debug errors in some scenarios. The small change capitalizes all HTTP verbs to prevent these kinds of errors.

jimmy-guzman commented 5 months ago

@m1212e I opened #66 which accomplishes the same thing. Let's just keep one opened. I can close mine if you want to keep yours opened.

m1212e commented 5 months ago

Ah, didn't see that. Thanks for notifying, I'll close mine. Hopefully @SaltyAom will merge yours :D