Skip to content
Snippets Groups Projects
Commit 083144fb authored by rswindell's avatar rswindell
Browse files

Support multipart/report MIME content-type, from RFC3462:

The syntax of Multipart/Report is identical to the Multipart/Mixed content type
parent a7711748
No related branches found
No related tags found
No related merge requests found
...@@ -389,6 +389,8 @@ static const char* mime_getcontent(const char* buf, const char* content_type, co ...@@ -389,6 +389,8 @@ static const char* mime_getcontent(const char* buf, const char* content_type, co
content_type += 22; content_type += 22;
else if(strstr(content_type, "multipart/mixed;") == content_type) else if(strstr(content_type, "multipart/mixed;") == content_type)
content_type +=16; content_type +=16;
else if(strstr(content_type, "multipart/report;") == content_type)
content_type +=17;
else else
return NULL; return NULL;
p = strstr(content_type, "boundary="); p = strstr(content_type, "boundary=");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment