gluon/package/gluon-web/luasrc/usr
Matthias Schiffer f3960eeb47 gluon-web: improve error handling of parse_message_body()
Actually raise an error and turn it into an HTTP 400 return code when
something goes wrong, rather than ignoring the error.

We also improve the conditions under which errors are thrown before
pump() is called: We don't need to check for the multipart/form-data
content-type twice, and a POST without this content-type is now always
an error.
2022-02-01 23:27:38 +01:00
..
lib/lua/gluon/web gluon-web: improve error handling of parse_message_body() 2022-02-01 23:27:38 +01:00