From 65c695fcbfc6d546795e9e54dcd5d6ac52d420a5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 21 Feb 2018 20:12:28 -0800 Subject: 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. --- tests/httpclient.c | 1 + tests/httpserver.c | 1 + 2 files changed, 2 insertions(+) (limited to 'tests') 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, 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 = "Someone is home!"; const char *doc2 = "This is a text file."; -- cgit v1.2.3-70-g09d2