ggicci/httpin

implement some frequently used directives as builtins

ggicci opened this issue · 2 comments

Though httpin had provided an easy way to add your custom directive. If httpin can provide some common used directives, it would be helpful.

e.g.

  • to_lower
  • to_upper
  • default, by #26
  • add more here...

Also, consider adding a default implementation of "path" directive. It's because of lack of it that will force developers to include other libraries for integration just for that one single functionality, which is not good because of bloatware from transitive packages.

ggicci commented

Hi @SharkFourSix, httpin does not support routing functionality, while the decoding of path variables relys on it. Please read https://ggicci.github.io/httpin/directives/path for more details.