summaryrefslogtreecommitdiff
path: root/core/libfetch/fetch-handle-temp-redirect.patch
blob: 351cbcfd831957f4e54600501aebfa1bf838508f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: http.c
===================================================================
RCS file: /cvsroot/pkgsrc/net/libfetch/files/http.c,v
retrieving revision 1.29
diff -u -r1.29 http.c
--- http.c	24 Jan 2010 19:10:35 -0000	1.29
+++ http.c	19 Apr 2011 13:29:04 -0000
@@ -974,6 +974,7 @@
 		case HTTP_MOVED_PERM:
 		case HTTP_MOVED_TEMP:
 		case HTTP_SEE_OTHER:
+		case HTTP_TEMP_REDIRECT:
 			/*
 			 * Not so fine, but we still have to read the
 			 * headers to get the new location.