mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fixed problem with redirect
This commit is contained in:
parent
7e92ffec48
commit
0c293887d0
1 changed files with 1 additions and 0 deletions
|
@ -1568,6 +1568,7 @@ inline bool redirect(T &cli, const Request &req, Response &res,
|
|||
new_req.headers = req.headers;
|
||||
new_req.body = req.body;
|
||||
new_req.redirect_count = req.redirect_count - 1;
|
||||
new_req.response_handler = req.response_handler;
|
||||
new_req.content_receiver = req.content_receiver;
|
||||
new_req.progress = req.progress;
|
||||
|
||||
|
|
Loading…
Reference in a new issue