Skip to content

Http Client does not accept "ICY 200 OK" as valid header #4454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
FrankBoesing opened this issue Oct 28, 2020 · 1 comment
Closed

Http Client does not accept "ICY 200 OK" as valid header #4454

FrankBoesing opened this issue Oct 28, 2020 · 1 comment

Comments

@FrankBoesing
Copy link
Contributor

We can not use the Http client for some icecast servers (audio-streaming), because the response ICY 200 OK is not considered as valid response.
These servers behave as HTTP servers, so everything else is identical.

Is there a workaround, or, better, can you fix this?

15:36:08.264 -> [V][HTTPClient.cpp:235] beginInternal(): url: http://194.183.138.206:40250/ 15:36:08.264 -> [D][HTTPClient.cpp:276] beginInternal(): host: 194.183.138.206 port: 40250 url: / 15:36:08.304 -> [D][HTTPClient.cpp:1025] connect(): connected to 194.183.138.206:40250 15:36:08.345 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'ICY 200 OK' 15:36:08.345 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>' 15:36:08.345 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'icy-notice2:SHOUTcast Distributed Network Audio Server/win32 v1.9.8<BR>' 15:36:08.382 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'icy-name:Radio Especially - Das Radio aus dem Westen ⸮sterreichs - Austria / ⸮sterreich Vorarlberg Feldkirch' 15:36:08.382 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'icy-genre:Misc' 15:36:08.382 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'icy-url:http://www.radio-especially.at' 15:36:08.382 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'content-type:audio/aacp' 15:36:08.425 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'icy-pub:1' 15:36:08.425 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'icy-metaint:8192' 15:36:08.425 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: 'icy-br:96' 15:36:08.425 -> [V][HTTPClient.cpp:1123] handleHeaderResponse(): RX: '' 15:36:08.425 -> [D][HTTPClient.cpp:1158] handleHeaderResponse(): code: 0 15:36:08.425 -> [D][HTTPClient.cpp:1178] handleHeaderResponse(): Remote host is not an HTTP Server! 15:36:08.425 -> [W][HTTPClient.cpp:1318] returnError(): error(-7): no HTTP server 15:36:08.459 -> [D][HTTPClient.cpp:1320] returnError(): tcp stop

@FrankBoesing
Copy link
Contributor Author

Thanx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant