Allow for reloading of config file #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Just like nginx allows reloads, this should too. Don't know how yet as PyWebServer doesn't run as a daemon so something like
sudo nginx -s reload
doesn't work. Will figure something out.Currently have implemented some insanely basic thingy using the URI (
/?pywebsrv_reload_conf=1
) which returns aHTTP 204
status code. Just gotta commit it now. Will improve on it though.I've improved the
HTTP 204
status code to aHTTP 302
code which returns you to the URI/
. Will improve later though.