verloop / twirpy

Twirp's python implementation
The Unlicense
99 stars 20 forks source link

Handle request decode errors #37

Closed chadawagner closed 2 years ago

chadawagner commented 2 years ago

Currently, malformed requests result in internal errors. This PR catches parse/decode errors in request input and returns a "malformed" error

chadawagner commented 2 years ago

@avinassh @ofpiyush pretty small PR here if anyone is available for review?

avinassh commented 2 years ago

Sorry for the delay @chadawagner, I have merged and made a new release 0.0.6. Thank you for this PR 🎉

chadawagner commented 2 years ago

Sorry for the delay @chadawagner, I have merged and made a new release 0.0.6. Thank you for this PR 🎉

Awesome, thanks @avinassh! And thanks for the new release!