Closed AssisrMatheus closed 3 years ago
The current regex at https://github.com/richardgirges/express-fileupload/blob/1216f4f0685caca7f1ece47f52c6119dc956b07d/lib/isEligibleRequest.js#L1 currently requires content-type to have a ; at the end.
content-type
;
This used to not be true before. Is there a reason for that?
I realized I should NOT manually set the header 'content-type': 'multipart/form-data' or else the boundary will not be added. And I gues that's why it requires the ;
'content-type': 'multipart/form-data'
The current regex at https://github.com/richardgirges/express-fileupload/blob/1216f4f0685caca7f1ece47f52c6119dc956b07d/lib/isEligibleRequest.js#L1 currently requires
content-type
to have a;
at the end.This used to not be true before. Is there a reason for that?