Added redirect support (Fix #211)

This commit is contained in:
yhirose 2019-09-06 00:26:57 -04:00
parent e2babf315c
commit c9238434e1
3 changed files with 308 additions and 72 deletions

View file

@ -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
---------------