summaryrefslogtreecommitdiff
path: root/tests/httpclient.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/httpclient.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/httpclient.c')
-rw-r--r--tests/httpclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/httpclient.c b/tests/httpclient.c
index 2438ab4c..7a38ed8d 100644
--- a/tests/httpclient.c
+++ b/tests/httpclient.c
@@ -17,6 +17,7 @@
// Basic HTTP client tests.
#include "core/nng_impl.h"
+#include "supplemental/http/http.h"
#include "supplemental/sha1/sha1.h"
const uint8_t utf8_sha1sum[20] = { 0x54, 0xf3, 0xb8, 0xbb, 0xfe, 0xda, 0x6f,