Skip to content

Commit c923843

Browse files
committed
Added redirect support (Fix #211)
1 parent e2babf3 commit c923843

File tree

3 files changed

+310
-74
lines changed

3 files changed

+310
-74
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,14 @@ if (cli.send(requests, responses)) {
333333
}
334334
```
335335

336+
### Redirect
337+
338+
```cpp
339+
httplib::Client cli("yahoo.com");
340+
cli.follow_location(true);
341+
auto ret = cli.Get("/");
342+
```
343+
336344
OpenSSL Support
337345
---------------
338346

0 commit comments

Comments
 (0)