Expand description
HTML endpoints that work without JavaScript.
Renders server-side HTML for upload confirmation, file listing, and reporting so the site works even when JS is disabled.
Structsยง
Functionsยง
- escape
- Minimal HTML escaping for untrusted values rendered into pages.
- feedback_
submit_ handler - POST /api/feedback - accept a feedback form submission and confirm with HTML.
- fmt_
bytes ๐ - page ๐
- report_
form_ handler - GET /report - native HTML report form (no JS required).
- report_
submit_ handler - POST /report - accept a form report submission and confirm with HTML.
- upload_
confirmation_ html - Render an HTML upload confirmation (used by the no-JS upload flow).
- wants_
html - True when the request prefers an HTML response (no-JS form submission).