tiny_httpd/tests/echo1.expect
2025-04-18 09:37:27 -04:00

71 lines
909 B
Text

listening on http://127.0.0.1:8085
echo:
{meth=GET; host=localhost:8085;
headers=[user-agent: test
Accept: */*
Host: localhost:8085];
path="/echo/?a=b&c=d"; body=""; path_components=["echo"];
query=["c","d";"a","b"]}
(query: "c" = "d";"a" = "b")
<!DOCTYPE html>
<html>
<head>
<title>
list directory &quot;Embedded_fs&quot;
</title>
<meta charset="utf-8"/>
</head>
<body>
<h2>
Index of &quot;&quot;
</h2>
<ul>
<li>
<a href="/vfs/a.txt">
a.txt
</a>
(12b)
</li>
<li>
<a href="/vfs/foo.html">
foo.html
</a>
(214b)
</li>
<li>
<a href="/vfs/sub">
sub
</a>
[dir]
</li>
<li>
<a href="/vfs/test_out.txt">
test_out.txt
</a>
(209b)
</li>
</ul>
</body>
</html>
hello
world
ykjNycnnKs8vyknhAgAAAP//
<html>
<head>
</head>
<body>
<h2> funky: </h2>
<ul>
<li>
<a href="../"> go up!! </a>
</li>
<li>
<a href="../foo.html"> up/foo </a>
</li>
</ul>
</body>
</html>