Skip to content

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

Closed
@FrankBoesing

Description

@FrankBoesing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions