Skip to content

Remove connect-multiparty librar - not used by engine or gui#345

Merged
kecso merged 3 commits into
masterfrom
multiparty-module-removal
May 5, 2026
Merged

Remove connect-multiparty librar - not used by engine or gui#345
kecso merged 3 commits into
masterfrom
multiparty-module-removal

Conversation

@pmeijer
Copy link
Copy Markdown
Contributor

@pmeijer pmeijer commented May 5, 2026

connect-multiparty handles requests of type multipart/form-data which is not used by either the server or the engine (not sure it ever was) - it could be used by an external router but in that case they should (at least first) try to handle it directly in the requests.

Comment thread src/server/standalone.js
this.__app.use(cookieParser());
this.__app.use(bodyParser.json(gmeConfig.server.bodyParser.json));
this.__app.use(bodyParser.urlencoded({extended: true}));
this.__app.use((req, res, next) => {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

body-parser removed initialization of request body, and secondly the multipart did add it.
Now we add it explicitly here as to not break any code.

@kecso kecso merged commit 46ddcd6 into master May 5, 2026
5 checks passed
@pmeijer pmeijer deleted the multiparty-module-removal branch May 5, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants