aboutsummaryrefslogtreecommitdiff
path: root/tests/httpserver.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-02-21 20:12:28 -0800
committerGarrett D'Amore <garrett@damore.org>2018-02-21 20:12:28 -0800
commit65c695fcbfc6d546795e9e54dcd5d6ac52d420a5 (patch)
treeddf8d7d31f1b365992b296923ee711e95298c5d6 /tests/httpserver.c
parent3a0ca04110778a56bcd523fbaba2439a61738e03 (diff)
downloadnng-65c695fcbfc6d546795e9e54dcd5d6ac52d420a5.tar.gz
nng-65c695fcbfc6d546795e9e54dcd5d6ac52d420a5.tar.bz2
nng-65c695fcbfc6d546795e9e54dcd5d6ac52d420a5.zip
Modularize HTTP headers somewhat.
We move the HTTP definitions out of the core nng.h and into a supplemental header. Most of this change was trivial updates to all of the HTTP related manual pages.
Diffstat (limited to 'tests/httpserver.c')
-rw-r--r--tests/httpserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/httpserver.c b/tests/httpserver.c
index e3d7ab25..e24c081f 100644
--- a/tests/httpserver.c
+++ b/tests/httpserver.c
@@ -17,6 +17,7 @@
// Basic HTTP server tests.
#include "core/nng_impl.h"
+#include "supplemental/http/http.h"
const char *doc1 = "<html><body>Someone <b>is</b> home!</body</html>";
const char *doc2 = "This is a text file.";