forked from dresden-elektronik/deconz-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
http_client_handler.cpp
36 lines (30 loc) · 1.24 KB
/
http_client_handler.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Copyright (c) 2012-2023 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#include "deconz/http_client_handler.h"
const char *HttpStatusOk = "200 OK"; // OK
const char *HttpStatusAccepted = "202 Accepted"; // Accepted but not complete
const char *HttpStatusBadRequest = "400 Bad Request"; // Malformed request
const char *HttpStatusForbidden = "403 Forbidden"; // Understand request but no permission
const char *HttpStatusNotFound = "404 Not Found"; // Requested uri not found
const char *HttpContentHtml = "text/html; charset=utf-8";
const char *HttpContentCss = "text/css";
const char *HttpContentJson = "application/json; charset=utf-8";
const char *HttpContentJS = "text/javascript";
const char *HttpContentPNG = "image/png";
const char *HttpContentJPG = "image/jpg";
const char *HttpContentSVG = "image/svg+xml";
namespace deCONZ {
HttpClientHandler::HttpClientHandler()
{
}
HttpClientHandler::~HttpClientHandler()
{
}
} // namespace deCONZ