mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Added redirect support (Fix #211)
This commit is contained in:
parent
e2babf315c
commit
c9238434e1
3 changed files with 308 additions and 72 deletions
|
@ -333,6 +333,14 @@ if (cli.send(requests, responses)) {
|
|||
}
|
||||
```
|
||||
|
||||
### Redirect
|
||||
|
||||
```cpp
|
||||
httplib::Client cli("yahoo.com");
|
||||
cli.follow_location(true);
|
||||
auto ret = cli.Get("/");
|
||||
```
|
||||
|
||||
OpenSSL Support
|
||||
---------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue