poco
poco copied to clipboard
Net: fixed parsing of media type in message header
What issue does this solve? According to the RFC, a semicolon is the only allowed separator.
Our software processes lots of data received from different sources. It processes requests from many programs web browsers as well as responses from different servers. Unfortunately we often see data where comma (',') is used as separator
OK, I understand your point. Will have to think about it. My issue with such fixes is that the bad code sending badly formatted messages never gets fixed if everyone else changes their code to accept these badly formatted messages. It may be the right thing to do for your application, but the question is whether it's the right thing to do for a general purpose library like POCO.