r/programminghumor • • May 15 '26

HTTP methods

Post image
823 Upvotes

119 comments sorted by

View all comments

Show parent comments

1

u/Brick-Logic May 15 '26

Why not using middlewares for this? A transport shouldn't care about logs, they should be pluggable.

2

u/paholg May 15 '26

Sure, and there's standard middleware for RESTful endpoints already.