serve http command to serve a remote over HTTP
This implements a basic webserver to serve an rclone remote over HTTP. It also sets up the framework for adding more types of server later.
This commit is contained in:
Vendored
+1
@@ -0,0 +1 @@
|
||||
three
|
||||
@@ -0,0 +1 @@
|
||||
Directory not found
|
||||
+1
@@ -0,0 +1 @@
|
||||
File not found
|
||||
@@ -0,0 +1 @@
|
||||
Directory not found
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Directory listing of /</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Directory listing of /</h1>
|
||||
<a href="one%25.txt">one%.txt</a><br />
|
||||
<a href="three/">three/</a><br />
|
||||
<a href="two.txt">two.txt</a><br />
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
Method not allowed
|
||||
@@ -0,0 +1 @@
|
||||
File not found
|
||||
+1
@@ -0,0 +1 @@
|
||||
one%
|
||||
+1
@@ -0,0 +1 @@
|
||||
Method not allowed
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Directory listing of /three</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Directory listing of /three</h1>
|
||||
<a href="a.txt">a.txt</a><br />
|
||||
<a href="b.txt">b.txt</a><br />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user