mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-08-11 08:34:30 +02:00
Fixed literals for ESP8266
This commit is contained in:
@@ -4,7 +4,7 @@ namespace asyncsrv {
|
|||||||
|
|
||||||
static constexpr const char* empty = "";
|
static constexpr const char* empty = "";
|
||||||
|
|
||||||
#ifndef ESP8622
|
#ifndef ESP8266
|
||||||
static constexpr const char* T__opaque = "\", opaque=\"";
|
static constexpr const char* T__opaque = "\", opaque=\"";
|
||||||
static constexpr const char* T_100_CONTINUE = "100-continue";
|
static constexpr const char* T_100_CONTINUE = "100-continue";
|
||||||
static constexpr const char* T_13 = "13";
|
static constexpr const char* T_13 = "13";
|
||||||
@@ -180,7 +180,7 @@ static constexpr const char* T_HTTP_CODE_504 = "Gateway Time-out";
|
|||||||
static constexpr const char* T_HTTP_CODE_505 = "HTTP Version not supported";
|
static constexpr const char* T_HTTP_CODE_505 = "HTTP Version not supported";
|
||||||
static constexpr const char* T_HTTP_CODE_ANY = "Unknown code";
|
static constexpr const char* T_HTTP_CODE_ANY = "Unknown code";
|
||||||
|
|
||||||
#else // ESP8622
|
#else // ESP8266
|
||||||
|
|
||||||
static const char T__opaque[] PROGMEM = "\", opaque=\"";
|
static const char T__opaque[] PROGMEM = "\", opaque=\"";
|
||||||
static const char T_100_CONTINUE[] PROGMEM = "100-continue";
|
static const char T_100_CONTINUE[] PROGMEM = "100-continue";
|
||||||
@@ -356,6 +356,6 @@ static const char T_HTTP_CODE_504[] PROGMEM = "Gateway Time-out";
|
|||||||
static const char T_HTTP_CODE_505[] PROGMEM = "HTTP Version not supported";
|
static const char T_HTTP_CODE_505[] PROGMEM = "HTTP Version not supported";
|
||||||
static const char T_HTTP_CODE_ANY[] PROGMEM = "Unknown code";
|
static const char T_HTTP_CODE_ANY[] PROGMEM = "Unknown code";
|
||||||
|
|
||||||
#endif // ESP8622
|
#endif // ESP8266
|
||||||
|
|
||||||
} // namespace asyncsrv {}
|
} // namespace asyncsrv {}
|
||||||
|
Reference in New Issue
Block a user