Skip to content

Commit ade1b76

Browse files
committed
lib/fetch: fix permanent redirects
Fixes #579
1 parent 9490cc9 commit ade1b76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/fetch/http.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
#define HTTP_REDIRECT(xyz) ((xyz) == HTTP_MOVED_PERM \
108108
|| (xyz) == HTTP_MOVED_TEMP \
109109
|| (xyz) == HTTP_TEMP_REDIRECT \
110+
|| (xyz) == HTTP_PERM_REDIRECT \
110111
|| (xyz) == HTTP_USE_PROXY \
111112
|| (xyz) == HTTP_SEE_OTHER)
112113

0 commit comments

Comments
 (0)