Transfer-Encoding: identity not handled properly, causing SOUP_STATUS_MALFORMED
It looks like transfer_encoding_setter
does not handle anything other than "chunked"
, and causes SOUP_STATUS_MALFORMED to be set.
Another related issue: #91
I ran into this trying to stream a station with gstreamer:
gst-launch-1.0 -v uridecodebin uri=http://prod-54-186-189-178.wostreaming.net/alphacorporate-kkuufmaac-imc4?session-id=a3b122cbfe148ed39c921444ceb1fb8f ! fakesink
HTTP conversation captured with wireshark:
GET /alphacorporate-kkuufmaac-imc4?session-id=a3b122cbfe148ed39c921444ceb1fb8f HTTP/1.1
Host: prod-54-186-189-178.wostreaming.net
User-Agent: GStreamer souphttpsrc 1.15.90 libsoup/2.66.1
icy-metadata: 1
Connection: Keep-Alive
HTTP/1.1 200 OK
Connection: close
Date: Thu, 27 Jun 2019 16:08:39 GMT
Content-Type: audio/aacp
Cache-Control: no-cache
Pragma: no-cache
Transfer-Encoding: identity
Content-Encoding: identity
Expires: Thu, 01 Jan 1970 00:00:01 GMT
icy-br: 64
icy-metaint: 2048
icy-name: KKUU-FM
The Transfer-Encoding: identity
appears to be very much legit as per https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding
Edited by Thomas Bluemel