mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
Updated README
This commit is contained in:
parent
7e5db48bdf
commit
61d800053e
10
README.md
10
README.md
@ -71,7 +71,7 @@ svr.set_error_handler([](const auto& req, auto& res) {
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
### `multipart/form-data` POST data
|
### 'multipart/form-data' POST data
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
svr.post("/multipart", [&](const auto& req, auto& res) {
|
svr.post("/multipart", [&](const auto& req, auto& res) {
|
||||||
@ -135,6 +135,10 @@ std::shared_ptr<httplib::Response> res =
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
This feature was contributed by [underscorediscovery](https://github.com/yhirose/cpp-httplib/pull/23).
|
||||||
|
|
||||||
### Range (HTTP/1.1)
|
### Range (HTTP/1.1)
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
@ -148,10 +152,6 @@ auto res = cli.get("/range/32", headers);
|
|||||||
// res->body should be "bcdefghijk".
|
// res->body should be "bcdefghijk".
|
||||||
```
|
```
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
This feature was contributed by [underscorediscovery](https://github.com/yhirose/cpp-httplib/pull/23).
|
|
||||||
|
|
||||||
OpenSSL Support
|
OpenSSL Support
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user