lightbug_http
lightbug_http copied to clipboard
Simple and fast HTTP framework for Mojo! 🔥
As reported by Logan `logan100` on Discord: **Describe the bug** An error is thrown when trying to run the `PythonClient`, sending a request to `httpbin`: ``` ➜ MojoTesting git:(main) ✗...
Parallelization and performance optimizations
Issue raised by the author of https://github.com/alainrollejr/mocodes **Is your feature request related to a problem? Please describe.** The application does operations on Int8 bytes, so performance is important **Describe the...
Issue raised by the author of https://github.com/alainrollejr/mocodes **Is your feature request related to a problem? Please describe.** There is currently no way maintain internal state over incoming requests **Describe the...
This is a proposal and code sample for adding middleware to the light bug project. ## Proposal The chain of responsibility design pattern is used to chain together pieces of...
Since Mojo 24.3 [`main()` functions inside packages are no longer supported](https://docs.modular.com/mojo/changelog#%EF%B8%8F-fixed). This was used in `/tests/run.mojo` to run a test suite (which is just one client test for now). The...
Annotating all the important structs and methods with Mojo doc strings would be a good start. We could then generate docs using [mojo doc](https://docs.modular.com/mojo/cli/doc)
We need to make sure errors are handled consistently in all parts of the code. Additionally, we could introduce support for custom error handlers to be used with services.
Improved form/multipart and JSON support