toptal / haste-server

open source pastebin written in node.js
https://www.toptal.com/developers/hastebin/about
2.92k stars 796 forks source link

Haste server sends 413 for requests over 1mb #434

Closed ImRodry closed 1 year ago

ImRodry commented 1 year ago

If you try to send a document over 1.048.576 characters in length (1MB) the server stops responding with "Document exceeds maximum length" and starts sending 413 responses in an html format. There should be a way to bypass this limit