Skip to content

[Feature Request] Better logging for when File download.htm downloaded when server returns 413 Request Entity Too Large #199

@timotheeandres

Description

@timotheeandres

First, awesome project! I've been hoping for a self-hosted replacement of smallpdf, this might be it!

Now, I used the docker container for this, and tried to compress a PDF. However, clicking on "Compress" only resulted in a very light download.htm file being downloaded. Here was its content:

<html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/1.14.2</center>
</body>
</html>

I do not know if this issue also happens if nginx returns any other non-200 return code, but at least for this one, it could be nice to have some message printed on the page, a toast or a pop-up?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions