MXS-1220: Take the resource handler into use

The resource handler system is now usable but it doesn't perform anything
useful. Although, this will allows it to be tested for correctness.

Minor fixes to HttpResponse output and renaming of functions.
This commit is contained in:
Markus Mäkelä
2017-04-17 10:36:33 +03:00
committed by Markus Mäkelä
parent 8b1c0cd1a1
commit 900bf2db5a
6 changed files with 46 additions and 38 deletions

View File

@ -264,7 +264,7 @@ static inline const char* http_code_to_string(enum http_code code)
*
* @return The RFC 1123 compliant date
*/
static inline string get_http_date()
static inline string http_get_date()
{
time_t now = time(NULL);
struct tm tm;