diff options
Diffstat (limited to 'lib/http/testdata/Server_HandleFS_test.txt')
| -rw-r--r-- | lib/http/testdata/Server_HandleFS_test.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/http/testdata/Server_HandleFS_test.txt b/lib/http/testdata/Server_HandleFS_test.txt new file mode 100644 index 00000000..23dd32c9 --- /dev/null +++ b/lib/http/testdata/Server_HandleFS_test.txt @@ -0,0 +1,33 @@ + +<<< TestServer_HandleFS/OnEmptyRoot +HTTP/1.1 200 OK +Connection: close +Content-Type: text/html; charset=utf-8 + +<!DOCTYPE html><html> +<head> +<meta name="viewport" content="width=device-width"> +<style> +body{font-family:monospace; white-space:pre;} +</style> +</head> +<body> +<h3>Index of /</h3> +</body></html> + +<<< TestServer_HandleFS/OnNewDirectory +HTTP/1.1 200 OK +Connection: close +Content-Type: text/html; charset=utf-8 + +<!DOCTYPE html><html> +<head> +<meta name="viewport" content="width=device-width"> +<style> +body{font-family:monospace; white-space:pre;} +</style> +</head> +<body> +<h3>Index of /</h3> +<div>drwxr-xr-x <tt> 0</tt> 0000-00-00T00:00:00Z <a href="/dirA">dirA</a></div><br/> +</body></html> |
