HTML Console

Developers forum for Univeral Media Server-related development (only for programmers)
Post Reply
mfulgo
Posts: 10
Joined: Sat Dec 13, 2014 2:59 pm

HTML Console

Post 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?)
Post Reply