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