rc: Rclone-WebUI integration with rclone

This adds experimental support for web gui integration so that rclone can fetch and run a web based GUI using the --rc-web-ui and related flags.

It downloads and caches a webui zip file which it then unpacks and opens in the browser.
This commit is contained in:
Chaitanya Bankanhal 2019-08-04 11:32:37 +00:00 committed by Nick Craig-Wood
parent 0386d22cc9
commit 84e2806c4b
5 changed files with 227 additions and 11 deletions

View file

@ -458,8 +458,9 @@ func TestMethods(t *testing.T) {
Status: http.StatusOK,
Expected: "",
Headers: map[string]string{
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Headers": "",
"Access-Control-Allow-Origin": "*",
"Access-Control-Request-Method": "POST, OPTIONS, GET, HEAD",
"Access-Control-Allow-Headers": "authorization, Content-Type",
},
}, {
Name: "bad",