https://tools.ietf.org/html/rfc2046#section-5.1.1
This commit is contained in:
parent
a94265d72f
commit
2e6dff35bd
|
@ -270,6 +270,7 @@ bool AsyncWebServerRequest::_parseReqHeader(){
|
||||||
} else if(name.equalsIgnoreCase("Content-Type")){
|
} else if(name.equalsIgnoreCase("Content-Type")){
|
||||||
if (value.startsWith("multipart/")){
|
if (value.startsWith("multipart/")){
|
||||||
_boundary = value.substring(value.indexOf('=')+1);
|
_boundary = value.substring(value.indexOf('=')+1);
|
||||||
|
_boundary.replace("\"","");
|
||||||
_contentType = value.substring(0, value.indexOf(';'));
|
_contentType = value.substring(0, value.indexOf(';'));
|
||||||
_isMultipart = true;
|
_isMultipart = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue