Update README

This commit is contained in:
yhirose committed 2019-09-06 18:29:22 -04:00
1 parent bfec81998b
commit 531708816a
2 files changed
+11 -2

No files matched your search

+5 -1
View File
@@ -337,8 +337,12 @@ if (cli.send(requests, responses)) {
```cpp
httplib::Client cli("yahoo.com");
cli.follow_location(true);
auto res = cli.Get("/");
res->status; // 301
cli.follow_location(true);
res = cli.Get("/");
res->status; // 200
```