restd is functional.

This commit is contained in:
NADAL Jean-Baptiste
2019-12-24 14:11:51 +01:00
parent 798bea32ab
commit 0113c9eec6
4 changed files with 185 additions and 39 deletions

View File

@@ -47,8 +47,8 @@ typedef struct restd_conn_s restd_conn_t;
#define RESTD_DONE (2) /*!< We're done with this request but keep the connection open. */
#define RESTD_CLOSE (3) /*!< We're done with this request. Close as soon as we sent all data out. */
#define RESTD_NOT_ALLOWED (4)
#define RESTD_NOT_FOUND (5)
#define RESTD_ERROR_METHOD_NOT_ALLOWED (1)
#define RESTD_ERROR_PATH_NOT_FOUND (2)
/*
* These flags are used for ad_log_level();