Fix "Key not found" exception when name and filename parameters are omitted#82
Fix "Key not found" exception when name and filename parameters are omitted#82Jericho merged 1 commit intoHttp-Multipart-Data-Parser:developfrom nakamura2000:feature/support_mixed
Conversation
if parameters don't have name parameter and filename parameter, ParseParameterPart throws key not found Exception. ( parameters["name"] )
|
At first I was skeptical about your suggestion to treat a parameter without Your PR allows the parsing to be successful even if a parameter does not have a Overall, I think this is a great improvement so I will merge your PR, add a few unit tests and release an update shortly. Thank you for your contribution! |
if parameters have only content-type and don't have name parameter and filename parameter, ParseParameterPart throws key not found Exception. ( parameters["name"] ). Use ParseFilePart in this case.