cinatra icon indicating copy to clipboard operation
cinatra copied to clipboard

modern c++(c++20), cross-platform, header-only, easy to use http framework

Results 107 cinatra issues
Sort by recently updated
recently updated
newest added

使用[Catch2](https://github.com/catchorg/Catch2)當作Framework 在Windows和Linux運作正常

``` req.on(ws_ping, [](request& req) -> bool { std::string payload = req.get_part_data();//最多125字节的ping包payload数据 // check payload some attribute return true; //true if a pong response should be sent, false will not; });...

download a file with Chinese filename by static file server, will return not found on Windows, Linux is ok. ```c++ http://127.0.0.1:9001/中文测试.txt ```

Final binary, works: ```bash $> ./http_server_test 200 302 client quit 301 301 client quit 200 200 302 client quit client quit ``` **Building...** ```bash $> zig c++ example/main.cpp -I../asio/asio/include -o...

目前的定义是: `enum class content_type { string, multipart, urlencoded, chunked, octet_stream, websocket, unknown, };` 没有找到设置content type的接口,如果想设application/xml或者image/png这样的类型怎么办?

URL example: https://mt.google.com/vt/lyrs=t,r&hl=x-local&src=app&apistyle=s.t%3A0%7Cs.e%3Al%7Cp.v%3Aoff&x=1&y=3&z=2 when visiting by Chrome, it's ok, the response data is a tiled image. I tested using Cinatra, however, the response value is 400. so can someone teach...

bug
enhancement