forked from me-no-dev/ESPAsyncWebServer
https://tools.ietf.org/html/rfc2046#section-5.1.1
This commit is contained in:
@@ -270,6 +270,7 @@ bool AsyncWebServerRequest::_parseReqHeader(){
|
||||
} else if(name.equalsIgnoreCase("Content-Type")){
|
||||
if (value.startsWith("multipart/")){
|
||||
_boundary = value.substring(value.indexOf('=')+1);
|
||||
_boundary.replace("\"","");
|
||||
_contentType = value.substring(0, value.indexOf(';'));
|
||||
_isMultipart = true;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user