mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[curl] 308 is redirect too.
This commit is contained in:
parent
868234cb13
commit
edf2b4b147
@ -385,7 +385,7 @@ http_curl_check_redirect(struct connection *conn)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (http->code == 301L || http->code == 302L) {
|
||||
if (http->code == 301L || http->code == 302L || http->code == 308L) {
|
||||
char *url = NULL;
|
||||
|
||||
curl_easy_getinfo(http->easy, CURLINFO_REDIRECT_URL, &url);
|
||||
|
Loading…
Reference in New Issue
Block a user