summaryrefslogtreecommitdiffstats
path: root/stream/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/http.c')
-rw-r--r--stream/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/http.c b/stream/http.c
index 753075cc3d..5634356991 100644
--- a/stream/http.c
+++ b/stream/http.c
@@ -224,6 +224,7 @@ static int nop_streaming_start( stream_t *stream ) {
// 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 @@ static int http_streaming_start(stream_t *stream, int* file_format) {
// 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 ) {