Not sure but the root of the problem problem is that the "." doesn''t match newline so so contentType is "audio/aacp" when "Content-Type" header is terminated by newline whereas the new pattern matches newline so the contentType becomes "audio/aacp\n". My suggested pattern would be below where termination characters are clear. /^Content-Type:\s*([^;\n]*)/i
Oh, ok, now I see. Should have read to the bottom of this thread. Thanks again, I'll look into this (probably tomorrow only).
-- Michael _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/beta
