Page 1 of 1

HTML Console

Posted: Sun Jan 25, 2015 6:28 pm
by mfulgo
It's kind of a small thing...

Right now, if a client makes either a GET or HEAD request to /console/scan or /console/stop, UMS starts or stops the library scan. But is it actually correct to perform the action for a HEAD request? It feels wrong to have a HEAD request cause side-effects.

Does it make more sense to change those actions to POST requests? (i.e. Switch the HTML page to have <form>s for scan and stop?)