I'm writing a Metro style app for listening to web radios.
Some web servers are not fully RFC-compliant, so .NET throws an exception (Protocol violation, ResponseStatusLine), which is not overridable via App.config in Metro style apps.
Please Microsoft, fix this issue, we have to deal with >> REAL-WORLD SERVICES <<, not just with idealized, RFC-compliant servers, and don't make me reimplement HTTP over TCP sockets.
Note that MediaPlayer.set_Source(Uri url) accepts these kind of "malformed" responses, so don't be hypocritical and say that this "useUnsafeHeaderParsing" is dangerous so it's disabled and not available for Metro style apps.
Either you allow both WinRT and .NET handle these responses, or none of them.
I can't use MediaPlayer.set_Source because I need access to the underlying stream, in order to provide recording capabilities.