libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] MHD_lookup_connection_value returns boundary


From: s.p
Subject: [libmicrohttpd] MHD_lookup_connection_value returns boundary
Date: Tue, 22 May 2012 21:45:54 +0100

Hello,

Im using libmhd from a not so old svn version. When I do the
following:
                        
if(0 == strcmp(method, MHD_HTTP_METHOD_POST)){
  const char* content_t = MHD_lookup_connection_value(c,
    MHD_HEADER_KIND, "Content-Type");
  fprintf(stderr, "'%s'\n", content_t);
...

I get:
'multipart/form-data;
boundary=---------------------------3503486491459979781761840034'

From my understanding, the MHD_lookup_connection_value should only
return a 'multipart/form-data' null terminated. If that is true, what
is going wrong?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]