[MPlayer-cvslog] r19465 - trunk/stream/http.c

reimar subversion at mplayerhq.hu
Sun Aug 20 13:47:33 CEST 2006


Author: reimar
Date: Sun Aug 20 13:47:33 2006
New Revision: 19465

Modified:
   trunk/stream/http.c

Log:
Handle 303 (See Other) redirect, part of a patch by Benjamin Zores (ben at geexbox org)


Modified: trunk/stream/http.c
==============================================================================
--- trunk/stream/http.c	(original)
+++ trunk/stream/http.c	Sun Aug 20 13:47:33 2006
@@ -224,6 +224,7 @@
 			// Redirect
 			case 301: // Permanently
 			case 302: // Temporarily
+			case 303: // See Other
 				ret=-1;
 				next_url = http_get_field( http_hdr, "Location" );
 
@@ -829,6 +830,7 @@
 			// Redirect
 			case 301: // Permanently
 			case 302: // Temporarily
+			case 303: // See Other
 				// TODO: RFC 2616, recommand to detect infinite redirection loops
 				next_url = http_get_field( http_hdr, "Location" );
 				if( next_url!=NULL ) {



More information about the MPlayer-cvslog mailing list