Skip to content

fix: add body-parser configuration in bootstrap#153

Merged
SVLaursen merged 1 commit into
mainfrom
fix/body-parser-limit
Jul 15, 2026
Merged

fix: add body-parser configuration in bootstrap#153
SVLaursen merged 1 commit into
mainfrom
fix/body-parser-limit

Conversation

@SVLaursen

Copy link
Copy Markdown
Collaborator

Summary

Adds body-parser configuration to the bootstrap, such that it can be configured either through cds.mcp or cds.server and their associated environment configurations.

This seems to be a leftover issue from when middleware was disconnected from standard CDS middleware.

Type of Change

  • 🚀 Feature - New functionality or enhancement
  • 🐛 Bug Fix - Non-breaking change that fixes an issue
  • 🚨 Hotfix - Critical fix for production issue
  • 🔧 Chore - Maintenance, refactoring, or tooling changes
  • 📚 Documentation - Documentation updates only
  • Performance - Performance improvements
  • 🎨 Style - Code style/formatting changes

Related Issues

What Changed

  • onBoostrap now contains a loader for body-parser limits through configuration
  • Defaults to 100kb

Testing

  • Unit tests pass
  • Integration tests pass
  • Manual testing completed
  • No new warnings/errors

Test Steps:

See associated issue for replication

Review Focus

  • Code quality and architecture
  • Test coverage and quality
  • Performance and security
  • Documentation accuracy
  • Breaking change handling

Additional Context


@SVLaursen SVLaursen self-assigned this Jul 15, 2026
@SVLaursen
SVLaursen merged commit 55bb364 into main Jul 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] /mcp endpoint hard-caps request body at 100 KB, rejecting document-upload tool calls with HTTP 413

1 participant