segler-alex / radiobrowser-api-rust

radio-browser API implementation in rust
GNU Affero General Public License v3.0
234 stars 105 forks source link

radiobrowser should follow redirects #112

Closed 1358 closed 3 years ago

1358 commented 7 years ago

Some "load balancer" redirect not only via 301/302 but also with 303 to the actual stream url. At the moment RadioBrowser does not follor 303 redirects and marks these stations as broken.

example: http://www.radio-browser.info/gui/#/edit/96876

segler-alex commented 3 years ago

i checked it, the api does always follow links on all codes from 300 to 399 IF there is a Location header so that it actually knows where to go.