MXS-1220: Make the http.hh header public

As it contains utility functions for formatting time_t values to HTTP-date
values, there's no real need to make it an internal header.
This commit is contained in:
Markus Mäkelä 2017-05-15 09:13:31 +03:00
parent 112977e011
commit 551f635f50
8 changed files with 8 additions and 9 deletions

View File

@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <sys/stat.h>
#include <maxscale/atomic.h>
#include <maxscale/debug.h>
@ -31,10 +32,9 @@
#include <maxscale/utils.h>
#include <maxscale/config.h>
#include <maxscale/hk_heartbeat.h>
#include <sys/stat.h>
#include <maxscale/http.hh>
#include "maxscale/resource.hh"
#include "maxscale/http.hh"
using std::string;
using std::ifstream;

View File

@ -41,6 +41,7 @@
#include <maxscale/utils.h>
#include <maxscale/paths.h>
#include <maxscale/json_api.h>
#include <maxscale/http.hh>
#include "maxscale/config.h"
#include "maxscale/filter.h"

View File

@ -23,8 +23,7 @@
#include <maxscale/jansson.hh>
#include <maxscale/utils.hh>
#include "http.hh"
#include <maxscale/http.hh>
// The API version part of the URL
#define MXS_REST_API_VERSION "v1"

View File

@ -20,8 +20,7 @@
#include <microhttpd.h>
#include <maxscale/jansson.hh>
#include "http.hh"
#include <maxscale/http.hh>
/**
* A list of default headers that are generated with each response

View File

@ -20,8 +20,8 @@
#include <deque>
#include <maxscale/server.h>
#include <maxscale/http.hh>
#include "http.hh"
#include "httprequest.hh"
#include "httpresponse.hh"
#include "monitor.h"

View File

@ -21,6 +21,7 @@
#include <maxscale/spinlock.hh>
#include <maxscale/json_api.h>
#include <maxscale/housekeeper.h>
#include <maxscale/http.hh>
#include "maxscale/httprequest.hh"
#include "maxscale/httpresponse.hh"
@ -31,7 +32,6 @@
#include "maxscale/config_runtime.h"
#include "maxscale/modules.h"
#include "maxscale/worker.h"
#include "maxscale/http.hh"
using std::list;
using std::map;

View File

@ -14,7 +14,7 @@
#include <iostream>
#include <maxscale/debug.h>
#include "../maxscale/http.hh"
#include <maxscale/http.hh>
using std::string;
using std::cout;