diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/http.c b/stream/http.c index 34ef49e681..1e7b8dab76 100644 --- a/stream/http.c +++ b/stream/http.c @@ -242,6 +242,7 @@ static int nop_streaming_start( stream_t *stream ) { case 301: // Permanently case 302: // Temporarily case 303: // See Other + case 307: // Temporarily (since HTTP/1.1) ret=-1; next_url = http_get_field( http_hdr, "Location" ); @@ -815,6 +816,7 @@ static int http_streaming_start(stream_t *stream, int* file_format) { case 301: // Permanently case 302: // Temporarily case 303: // See Other + case 307: // Temporarily (since HTTP/1.1) // TODO: RFC 2616, recommand to detect infinite redirection loops next_url = http_get_field( http_hdr, "Location" ); if( next_url!=NULL ) { |