lightbug_http
lightbug_http copied to clipboard
Simple and fast HTTP framework for Mojo! π₯
Currently when default buffer is too large we read too many requests (see [here](https://github.com/saviorand/lightbug_http/blob/ac7bd4dc150effec7fb82b3fac798979ac127025/lightbug_http/sys/client.mojo#L115)). Need a better way to handle this.
This should make it easy to e.g. print the full request or the header object if required. Might require some refactoring e.g. due to the way the `parse()` methods are...
Module structure remains the same for users (import paths are the same as before), but request and response have their own files to keep things easier to maintain as their...
Currently bodies sent using the `Chunked` `Transfer-Encoding` syntax are not support, and will result in the body not being parsed at all.
Follow up from https://github.com/saviorand/lightbug_http/pull/60#discussion_r1775777594 Currently we close each connection in the client. We need to implement a mechanism for managing persistent connections, potentially multiple at a time based on hostname....
**Describe the bug** I would like to test the HttpClient. But both imports will raise Errors, can you explain this import errors? I canΒ΄t understand why Headers not init. I...