Fixed problem with redirect
This commit is contained in:
parent
7e92ffec48
commit
0c293887d0
@ -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…
x
Reference in New Issue
Block a user