We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 814e7ac + afd10f0 commit 9b6e408Copy full SHA for 9b6e408
src/transports/http.c
@@ -398,7 +398,8 @@ static int on_headers_complete(http_parser *parser)
398
if ((parser->status_code == 301 ||
399
parser->status_code == 302 ||
400
(parser->status_code == 303 && get_verb == s->verb) ||
401
- parser->status_code == 307) &&
+ parser->status_code == 307 ||
402
+ parser->status_code == 308) &&
403
t->location) {
404
405
if (s->redirect_count >= 7) {
0 commit comments