Loopback-only staged file upload receiver; Nginx MUST apply HTTPS and Basic Auth.
Source: target-root/usr/local/lib/solidgroundux/py/webcontent/webcontent-upload-service.py
Loopback-only staged file upload receiver; Nginx MUST apply HTTPS and Basic Auth.
Public functions
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
Handler.respond | Send an HTTP response with the requested status and diagnostic message. | — | — |
Handler.do_POST | Accept and validate an uploaded package through the HTTP POST endpoint. | — | — |
Handler.do_GET | Respond to supported HTTP GET requests from the upload service. | — | — |
Internal classes
| Class | Purpose |
|---|---|
Handler | Serve the WCM upload endpoint, validating and staging submissions. |
Install as a systemd service with a dedicated non-public writable directory. This service does not implement authentication: direct network access is prohibited.
