Bugzilla – Bug 10930
Password protection
Last modified: 2009-02-03 00:50:42 UTC
Not really a bug, but: If I do a login over the CLI interface then I would have expected to also be authorized to use the HTTP interface. I use that just to retrieve cover images. IMHO logging using CLI should log me in to both the 9000 port (HTTP) and the 9090 socket (CLI) In the mean time all I need is the string that I need to send on an http GET command to execute the login on the http port something like: "GET "+"login userid/password"+" HTTP/1.0\r\n" I do not do much http work so a little help appreciated.
http authentication is handled by the http protocol. This is completely independant from the CLI (and following standards). To get the artwork you can use an url like http://username:password@yourserver:9000/artworkfile.jpg You could of course use JSON/RPC instead of the raw CLI. It uses http as the transport protocol.