Mercurial > mplayer.hg
diff stream/http.c @ 19459:6dad4b1efb82
Handle 303 (See Other) redirect, part of a patch by Benjamin Zores (ben at geexbox org)
| author | reimar |
|---|---|
| date | Sun, 20 Aug 2006 11:47:33 +0000 |
| parents | ab8d6b6deb63 |
| children | b6eed21e0535 |
line wrap: on
line diff
--- a/stream/http.c Sun Aug 20 11:03:19 2006 +0000 +++ b/stream/http.c Sun Aug 20 11:47:33 2006 +0000 @@ -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 ) {
