Getting 413 Client Error as data is too big

0 votes
asked Nov 5 in Question / help by mathur

Hi,

I am trying to generate a SVG on python plantuml.
Whereas, as the size gets too big, I get the following error:

    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 413 Client Error: FULL head for url: http://localhost:9999/svg/xLrPSnkvrNsVglaFdShBJ9NDzBwuogdG52qp4IKDISrIoLSiMg8TPMJAaMXF_Ey_00smqMWizw8viiRcFBWqqZt0RUpBEHT_kz-kxhOVtjry-ytgSdjx5uocugVP-5ZyEDtzSjpyE9kDTg0Nkx_FfR-BdnQJwNZtFyTD2gDT0gVhxM-tTxz--mt_8NZwpp-7vB

Is there a way to overcome the 413? Or not generate the URL and generate the SVG locally on the server?
Any help would be nice.

Thanks,

commented Nov 8 by mathur
I read on the FAQs that it is advised to host the server locally for longer diagrams. But that does not seem to help either.

Are there any suggestions on how to generate the SVG on python when running the host locally?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...