virto-network / valor

Create HTTP APIs with a plugin system that runs in the server and the browser.
GNU General Public License v3.0
9 stars 8 forks source link

Added default match to header request lookup #18

Closed jcvar closed 3 years ago

jcvar commented 3 years ago

Requests without the proper headers result in runtime panic and cause multiple tries on the handler function. With a default message, the info! log for the fallback endpoint can be displayed.

olanod commented 3 years ago

Hi @jcvar thanks for your contribution! Nice catch, Valor is still in its infancy and will need a lot of love to be a mature tool. Would you be interested in knowing more about it?

jcvar commented 3 years ago

Sure, I've forwarded your way the email that brought me here.