# Support for parsing of multipart/form-data within WebDev module

**URL:** <https://forum.inductiveautomation.com/t/support-for-parsing-of-multipart-form-data-within-webdev-module/80039>\
**Category:** Ignition\
**Tags:** ignition81, python, scripting\
**Created:** [October 4, 2023, 9:06pm UTC](https://forum.inductiveautomation.com/t/support-for-parsing-of-multipart-form-data-within-webdev-module/80039 "2023-10-04T21:06:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HGilbert](https://avatars.discourse-cdn.com/v4/letter/h/a9a28c/32.png) [@HGilbert](https://forum.inductiveautomation.com/u/HGilbert)\
**Post date:** [October 4, 2023, 9:06pm UTC](https://forum.inductiveautomation.com/t/support-for-parsing-of-multipart-form-data-within-webdev-module/80039/1 "2023-10-04T21:06:28Z")

</div>

Are there any updates on the status of the `IllegalStateException` bug that occurs when parsing the servlet body of multipart/form-data requests? Unsure if Griffith has any updates on the ticket from back in Dec of '20. Running 8.1.30 and am still currently able to reproduce the bug.

> [@Decode "multipart/form-data" with WebDev](https://forum.inductiveautomation.com/t/decode-multipart-form-data-with-webdev/41173/6):
>
> Hmm, the bad news is it looks like that IllegalStateException isn’t something you can work around (though it’s an easy fix on our side; I’m going to open a ticket). For parsing the data, I don’t see any readily available helper classes that are exposed. If you know the format you’re going to get from the zebra printer, it’s probably reasonable to do your own parsing.

I know it's possible to extract it from the `postData` and then manually parse the string, but I'm ideally looking to keep the code concise without having to resort to some messy string parsing.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 5, 2023, 9:56pm UTC](https://forum.inductiveautomation.com/t/support-for-parsing-of-multipart-form-data-within-webdev-module/80039/2 "2023-10-05T21:56:42Z")

</div>

No.  
At the time, it looked like an easy fix, so I filed a ticket. When it was reviewed internally, folks who actually did the research found that it was _not_ such an easy fix, and also raised some security concerns with broadly allowing file uploads on _every_ webdev endpoint (which has to do with our backing webserver's implementation details). Since relatively few people have asked for the feature, we haven't re-prioritized it. You're welcome to make an ideas post to help us gauge community interest and prioritize the feature ([https://ideas.inductiveautomation.com/](https://ideas.inductiveautomation.com/)), but in the short term, you're probably going to have to do the parsing yourself. I'd suggest looking for built-in Java libraries that can offload some of the messy parsing for you.
