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:
parent
112977e011
commit
551f635f50
@ -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;
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <iostream>
|
||||
|
||||
#include <maxscale/debug.h>
|
||||
#include "../maxscale/http.hh"
|
||||
#include <maxscale/http.hh>
|
||||
|
||||
using std::string;
|
||||
using std::cout;
|
||||
|
Loading…
x
Reference in New Issue
Block a user