Compare commits

..

No commits in common. "d89117430db3dc5d69420509cae55e91688dad12" and "2d215b4a4e252748cf7552c69891ca902d8ba939" have entirely different histories.

4 changed files with 3 additions and 69 deletions

View file

@ -1,38 +1,6 @@
PATH=/
HTML='''
<html>
<head>
<style>
body {
color: #FFF;
background-color: #333;
}
a {
color: #AAF;
}
a:link {
color: #AAF;
}
a:visited {
color: #88B;
}
a:focus a:hover {
color: #DDF;
}
a:active {
color: #FFF;
}
</style>
</head>
<body>
<h1>Test HTML</h1><br>
<h2>{{{Var}}}</h2>
<h3><a href="/inner">To inner.</a></h3>
</body>
HTML='''Test HTML
{{{Var}}}
'''
Var='''Test var value'''
PATH=/inner
HTML_FILE='''example_config/inner.html'''
VAR_FILE='''example_config/var.html'''

View file

@ -1,33 +0,0 @@
<html>
<head>
<style>
body {
color: #FFF;
background-color: #333;
}
a {
color: #AAF;
}
a:link {
color: #AAF;
}
a:visited {
color: #88B;
}
a:focus a:hover {
color: #DDF;
}
a:active {
color: #FFF;
}
</style>
</head>
<body>
<h1>Inner</h1>
{{{VAR_FILE}}}
<br>
<a href="..">Back.</a>
</body>
</html>

View file

@ -1 +0,0 @@
<h2>Some other text.</h2>

View file

@ -19,7 +19,7 @@
#define C_SIMPLE_HTTP_SLEEP_NANOS 1000000
#define C_SIMPLE_HTTP_RECV_BUF_SIZE 1024
#define C_SIMPLE_HTTP_CONFIG_BUF_SIZE 1024
#define C_SIMPLE_HTTP_CONFIG_BUF_SIZE 256
#define C_SIMPLE_HTTP_QUOTE_COUNT_MAX 3
#endif