myshenin / aws-lambda-multipart-parser

Parser of multipart/form-data requests for AWS Lambda
MIT License
74 stars 38 forks source link

Makes list on repeated fieldnames #24

Open RonnieWinter opened 5 years ago

RonnieWinter commented 5 years ago

This change allows repeated fieldnames to not override the previous one. Instead, if it checks that the fieldname was already parsed, it will make it into a list, and push the new value This would be a solution for this issue: https://github.com/myshenin/aws-lambda-multipart-parser/issues/23