Http header "Content-type" may contain optional parameters like described here: 1
authorDaniil Ivanov <daniil.ivanov@gmail.com>
Wed, 20 Apr 2011 15:43:51 +0000 (18:43 +0300)
committerDaniil Ivanov <daniil.ivanov@gmail.com>
Wed, 20 Apr 2011 15:43:51 +0000 (18:43 +0300)
commita455e196609ef0fb61164ffeaf752df3eca8ba97
treef9c45e7e354ee2c39aba89b4b29bb20df3ba8099
parent991d90f4e7b9b7964a1305d3d3262845054080eb
Http header "Content-type" may contain optional parameters like described here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7
For example, for text/plain it's typically charset.
Thus, comparing Content-type cannot be just compared a fixed string.
src/oauth2plugin.cpp