babylonchain / staking-api-service

Other
3 stars 4 forks source link

hotfix - add content length middleware #171

Closed jeremy-babylonlabs closed 4 months ago

jeremy-babylonlabs commented 4 months ago

169

Added a middleware to enforce a maximum content length for POST requests. Requests exceeding the configured limit will receive an HTTP 413 Request Entity Too Large response, the maximum content length is set on config file

jrwbabylonlab commented 4 months ago

let's merge this into main as a hotfix instead

jeremy-babylonlabs commented 4 months ago

continuing at #183