Why would it matter? If we change the test to just verify if content-type
is present it would be OK, right?

Parsing the variables would depend on the usage of get() or not
Le 13 déc. 2013 19:51, "Jake Forsberg" <notifications@github.com> a écrit :

> In mongoose/Request.cpp:
>
> > @@ -17,8 +17,7 @@
> >
> >          // Downloading POST data
> >          ostringstream postData;
> > -        const char * content_type = mg_get_header(connection, "Content-Type");
> > -        if (content_type!= NULL && strcmp(content_type, "application/x-www-form-urlencoded") == 0) {
> > +        if ((isFormURLEncodedContentType(connection) || isJsonContentType(connection)) ) {
>
> I agree with you. Are you concerned about post requests with binary data
> content-type?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Gregwar/mongoose-cpp/pull/5/files#r8341038>
> .
>