HTTP Accept header incorrect with both ogg and flac
PROBLEM: ogg123 cannot http-stream from MS IIS when compiled with flac support (Apache works fine though - I guess apache ignores bad Accept headers)
DIAGNOSIS:
When streaming-HTTP downloading an ogg using "ogg123 http://...", ogg123 inserts an HTTP Accept header like this:
Accept: application/ogg audio/x-flac;q=0.9
This is incorrect - it should be
Accept: application/ogg, audio/x-flac;q=0.9
Note the extra comma. See RFC 2616, section 14.1. The patch is a one-liner - I'll attach it shortly.