Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 7ba8a07

Browse files
authored
v1.8.2 to fix wrong http status header
### Releases v1.8.2 1. Fix wrong http status header bug. Check [fix for wrong http status header #42](#42)
1 parent dd02ed4 commit 7ba8a07

28 files changed

+110
-73
lines changed

README.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ This [**EthernetWebServer** library](https://github.com/khoih-prog/EthernetWebSe
215215
4. [`Arduino SAM DUE core v1.6.12+`](https://github.com/arduino/ArduinoCore-sam) for SAM DUE ARM Cortex-M3 boards.
216216
5. [`Arduino SAMD core 1.8.12+`](https://github.com/arduino/ArduinoCore-samd) for SAMD ARM Cortex-M0+ boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-samd.svg)](https://github.com/arduino/ArduinoCore-samd/releases/latest)
217217
6. [`Adafruit SAMD core 1.7.5+`](https://github.com/adafruit/ArduinoCore-samd) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.). [![GitHub release](https://img.shields.io/github/release/adafruit/ArduinoCore-samd.svg)](https://github.com/adafruit/ArduinoCore-samd/releases/latest)
218-
7. [`Seeeduino SAMD core 1.8.1+`](https://github.com/Seeed-Studio/ArduinoCore-samd) for SAMD21/SAMD51 boards (XIAO M0, Wio Terminal, etc.). [![Latest release](https://img.shields.io/github/release/Seeed-Studio/ArduinoCore-samd.svg)](https://github.com/Seeed-Studio/ArduinoCore-samd/releases/latest/)
218+
7. [`Seeeduino SAMD core 1.8.2+`](https://github.com/Seeed-Studio/ArduinoCore-samd) for SAMD21/SAMD51 boards (XIAO M0, Wio Terminal, etc.). [![Latest release](https://img.shields.io/github/release/Seeed-Studio/ArduinoCore-samd.svg)](https://github.com/Seeed-Studio/ArduinoCore-samd/releases/latest/)
219219
8. [`Adafruit nRF52 v1.2.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [![GitHub release](https://img.shields.io/github/release/adafruit/Adafruit_nRF52_Arduino.svg)](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest)
220220
9. [`ESP32 Core 2.0.2+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
221221
10. [`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [![Latest release](https://img.shields.io/github/release/esp8266/Arduino.svg)](https://github.com/esp8266/Arduino/releases/latest/). To use ESP8266 core 2.7.1+ for LittleFS.
@@ -2006,7 +2006,7 @@ The following are debug terminal output and screen shot when running example [Ad
20062006

20072007
```
20082008
Starting AdvancedWebServer on NRF52840_FEATHER with ENC28J60 using EthernetENC Library
2009-
EthernetWebServer v1.8.1
2009+
EthernetWebServer v1.8.2
20102010
[ETHERNET_WEBSERVER] =========================
20112011
[ETHERNET_WEBSERVER] Default SPI pinout:
20122012
[ETHERNET_WEBSERVER] MOSI: 25
@@ -2187,7 +2187,7 @@ The terminal output of **SAM DUE with W5x00 using EthernetLarge Library** runnin
21872187

21882188
```
21892189
Starting SimpleWebSocket on SAM DUE with W5x00 using EthernetLarge Library
2190-
EthernetWebServer v1.8.1
2190+
EthernetWebServer v1.8.2
21912191
[ETHERNET_WEBSERVER] =========== USE_ETHERNET_LARGE ===========
21922192
[ETHERNET_WEBSERVER] Default SPI pinout:
21932193
[ETHERNET_WEBSERVER] MOSI: 75
@@ -2278,7 +2278,7 @@ The terminal output of **NRF52840_FEATHER with W5x00 using Ethernet3 Library** r
22782278

22792279
```
22802280
Starting DweetPost on NRF52840_FEATHER with W5x00 using Ethernet3 Library
2281-
EthernetWebServer v1.8.1
2281+
EthernetWebServer v1.8.2
22822282
[ETHERNET_WEBSERVER] =========== USE_ETHERNET3 ===========
22832283
[ETHERNET_WEBSERVER] Default SPI pinout:
22842284
[ETHERNET_WEBSERVER] MOSI: 25
@@ -2313,7 +2313,7 @@ The terminal output of **ESP32 with W5x00 using Ethernet Library** running [ESP3
23132313

23142314
```
23152315
Starting ESP32_FS_EthernetWebServer on ESP32 using LittleFS with W5x00 using Ethernet Library
2316-
EthernetWebServer v1.8.1
2316+
EthernetWebServer v1.8.2
23172317
[ETHERNET_WEBSERVER] =========== USE_ETHERNET ===========
23182318
[ETHERNET_WEBSERVER] Default SPI pinout:
23192319
[ETHERNET_WEBSERVER] MOSI: 23
@@ -2364,7 +2364,7 @@ The terminal output of **ESP8266 with W5x00 using Ethernet Library** running [FS
23642364

23652365
```
23662366
Starting FS_EthernetWebServer on ESP8266 using LittleFS with W5x00 using Ethernet Library
2367-
EthernetWebServer v1.8.1
2367+
EthernetWebServer v1.8.2
23682368
[ETHERNET_WEBSERVER] =========== USE_ETHERNET ===========
23692369
[ETHERNET_WEBSERVER] Default SPI pinout:
23702370
[ETHERNET_WEBSERVER] MOSI: 13
@@ -2420,7 +2420,7 @@ The terminal output of **ESP8266 with W5x00 using Ethernet Library** running [se
24202420
```
24212421
Starting serveStatic demoing 'serveStatic' function on ESP8266 using LittleFS
24222422
With W5x00 using Ethernet Library
2423-
EthernetWebServer v1.8.1
2423+
EthernetWebServer v1.8.2
24242424
[ETHERNET_WEBSERVER] =========== USE_ETHERNET ===========
24252425
[ETHERNET_WEBSERVER] Default SPI pinout:
24262426
[ETHERNET_WEBSERVER] MOSI: 13
@@ -2463,7 +2463,7 @@ The following are debug terminal output and screen shot when running example [Si
24632463

24642464
```
24652465
SimpleWebServer_NativeEthernet on Teensy 4.1 with NativeEthernet
2466-
EthernetWebServer v1.8.1
2466+
EthernetWebServer v1.8.2
24672467
Debug Level = 3
24682468
Connected! IP address: 192.168.2.127
24692469
[EWS] <html><head><meta http-equiv='refresh' content='5'/><title>AdvancedWebServer Teensy 4.1 with NativeEthernet</title><style>body { background-color: #cccccc; font-family: Arial, Helvetica, Sans-Serif; Color: #000088; }</style></head><body><h2>Hi from EthernetWebServer!</h2><h3>on Teensy 4.1 with NativeEthernet</h3><p>Uptime: 0 d 00:00:05</p></body></html>
@@ -2519,7 +2519,7 @@ The following are debug terminal output and screen shot when running example [Ad
25192519

25202520
```
25212521
Starting AdvancedWebServer on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet3 Library
2522-
EthernetWebServer v1.8.1
2522+
EthernetWebServer v1.8.2
25232523
[EWS] =========== USE_ETHERNET3 ===========
25242524
[EWS] Default SPI pinout:
25252525
[EWS] MOSI: 3
@@ -2552,7 +2552,7 @@ The following are debug terminal output when running example [MQTTClient_Auth](e
25522552

25532553
```
25542554
Start MQTTClient_Auth on MBED RASPBERRY_PI_PICO with W5x00 using Ethernet Library
2555-
EthernetWebServer v1.8.1
2555+
EthernetWebServer v1.8.2
25562556
[EWS] =========== USE_ETHERNET ===========
25572557
[EWS] Default SPI pinout:
25582558
[EWS] MOSI: 3
@@ -2587,7 +2587,7 @@ The following are debug terminal output and screen shot when running example [Ad
25872587

25882588
```
25892589
Starting AdvancedWebServer on RASPBERRY_PI_PICO with W5x00 using EthernetLarge Library
2590-
EthernetWebServer v1.8.1
2590+
EthernetWebServer v1.8.2
25912591
[EWS] =========== USE_ETHERNET_LARGE ===========
25922592
[EWS] Default SPI pinout:
25932593
[EWS] MOSI: 19
@@ -2621,7 +2621,7 @@ The following are debug terminal output and screen shot when running example [Ud
26212621

26222622
```
26232623
Start UdpNTPClient on RASPBERRY_PI_PICO with W5x00 using EthernetLarge Library
2624-
EthernetWebServer v1.8.1
2624+
EthernetWebServer v1.8.2
26252625
[EWS] =========== USE_ETHERNET_LARGE ===========
26262626
[EWS] Default SPI pinout:
26272627
[EWS] MOSI: 19
@@ -2666,7 +2666,7 @@ The following are debug terminal output and screen shot when running example [Ad
26662666

26672667
```
26682668
Starting AdvancedWebServer on TEENSY 4.1 using QNEthernet
2669-
EthernetWebServer v1.8.1
2669+
EthernetWebServer v1.8.2
26702670
[EWS] =========== USE_QN_ETHERNET ===========
26712671
Initialize Ethernet using static IP => IP Address = 192.168.2.222
26722672
HTTP EthernetWebServer is @ IP : 192.168.2.222
@@ -2688,7 +2688,7 @@ The following are debug terminal output and screen shot when running example [Ad
26882688

26892689
```
26902690
Starting AdvancedWebServer on TEENSY 4.1 using QNEthernet
2691-
EthernetWebServer v1.8.1
2691+
EthernetWebServer v1.8.2
26922692
[EWS] =========== USE_QN_ETHERNET ===========
26932693
Initialize Ethernet using static IP => IP Address = 192.168.2.222
26942694
HTTP EthernetWebServer is @ IP : 192.168.2.222
@@ -2706,7 +2706,7 @@ The following is the debug terminal output when running example [MQTTClient_Auth
27062706

27072707
```
27082708
Start MQTTClient_Auth on TEENSY 4.1 using QNEthernet
2709-
EthernetWebServer v1.8.1
2709+
EthernetWebServer v1.8.2
27102710
[EWS] =========== USE_QN_ETHERNET ===========
27112711
Initialize Ethernet using static IP => IP Address = 192.168.2.222
27122712
Attempting MQTT connection to broker.emqx.io...connected
@@ -2729,7 +2729,7 @@ The following are debug terminal output and screen shot when running example [Ad
27292729

27302730
```
27312731
Starting AdvancedWebServer on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
2732-
EthernetWebServer v1.8.1
2732+
EthernetWebServer v1.8.2
27332733
[EWS] ======== USE_PORTENTA_H7_ETHERNET ========
27342734
Using mac index = 6
27352735
Connected! IP address: 192.168.2.222
@@ -2748,7 +2748,7 @@ The following is the debug terminal output when running example [MQTTClient_Auth
27482748

27492749
```
27502750
Starting SimpleWebSocket on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
2751-
EthernetWebServer v1.8.1
2751+
EthernetWebServer v1.8.2
27522752
[EWS] ======== USE_PORTENTA_H7_ETHERNET ========
27532753
Using mac index = 4
27542754
Connected! IP address: 192.168.2.132
@@ -2796,7 +2796,7 @@ The following is the debug terminal output when running example [MQTTClient_Auth
27962796

27972797
```
27982798
Start MQTTClient_Auth on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
2799-
EthernetWebServer v1.8.1
2799+
EthernetWebServer v1.8.2
28002800
[EWS] ======== USE_PORTENTA_H7_ETHERNET ========
28012801
Using mac index = 7
28022802
Connected! IP address: 192.168.2.132
@@ -2936,7 +2936,8 @@ Many thanks for everyone for bug reporting, new feature suggesting, testing and
29362936
5. [Adrian McEwen](https://github.com/amcewen) for [HttpClient Library](https://github.com/amcewen/HttpClient) on which the [ArduinoHttpClient Library](https://github.com/arduino-libraries/ArduinoHttpClient) and this [EthernetWebServer library](https://github.com/khoih-prog/EthernetWebServer) are relied.
29372937
6. Thanks to [jimmie11](https://github.com/jimmie11) to report and suggest a fix in [Compile Error on Teensy 4.1 #14](https://github.com/khoih-prog/EthernetWebServer/issues/14) leading to the new version v1.2.0 to provide support to **Teensy 4.1** using [**NativeEthernet Library**](https://github.com/vjmuzik/NativeEthernet)
29382938
7. Thanks to [Sardar Azari](https://github.com/gagulik) to make PR in [streamFile and serveStatic for ESP8266/ESP32 boards #22](https://github.com/khoih-prog/EthernetWebServer/pull/22) leading to the new version v1.3.0 to add WebServer feature to serve static from LittleFS/SPIFFS for ESP32/ESP8266. The example [**serveStatic**](examples/serveStatic) and [**serveStaticLoadFile**](examples/serveStaticLoadFile) are also contributed by [Sardar Azari](https://github.com/gagulik).
2939-
2939+
8. Thanks to [neardreams](https://github.com/neardreams) to report issue [Something wrong in http response header #41](https://github.com/khoih-prog/EthernetWebServer/issues/41), then make PR in [fix for wrong http status header #42](https://github.com/khoih-prog/EthernetWebServer/pull/42) leading to the new version v1.8.2 to fix wrong http status header bug.
2940+
9. Thanks to [dirkdickler](https://github.com/dirkdickler) to report issue [server.authenticate problem #43](https://github.com/khoih-prog/EthernetWebServer/issues/43) which was fixed in v1.8.2
29402941

29412942
<table>
29422943
<tr>
@@ -2950,6 +2951,8 @@ Many thanks for everyone for bug reporting, new feature suggesting, testing and
29502951
<tr>
29512952
<td align="center"><a href="https://github.com/gagulik"><img src="https://github.com/gagulik.png" width="100px;" alt="gagulik"/><br /><sub><b>
29522953
Sardar Azari</b></sub></a><br /></td>
2954+
<td align="center"><a href="https://github.com/neardreams"><img src="https://github.com/neardreams.png" width="100px;" alt="neardreams"/><br /><sub><b>neardreams</b></sub></a><br /></td>
2955+
<td align="center"><a href="https://github.com/dirkdickler"><img src="https://github.com/dirkdickler.png" width="100px;" alt="dirkdickler"/><br /><sub><b>dirkdickler</b></sub></a><br /></td>
29532956
</tr>
29542957
</table>
29552958

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414

1515
* [Changelog](#changelog)
16+
* [Releases v1.8.2](#releases-v182)
1617
* [Releases v1.8.1](#releases-v181)
1718
* [Major Releases v1.8.0](#major-releases-v180)
1819
* [Releases v1.7.1](#releases-v171)
@@ -41,6 +42,11 @@
4142

4243
## Changelog
4344

45+
### Releases v1.8.2
46+
47+
1. Fix wrong http status header bug. Check [fix for wrong http status header #42](https://github.com/khoih-prog/EthernetWebServer/pull/42)
48+
49+
4450
### Releases v1.8.1
4551

4652
1. Fix bug related to String in library and examples

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "EthernetWebServer",
3-
"version": "1.8.1",
3+
"version": "1.8.2",
44
"keywords": "WebServer, Ethernet, Ethernet2, Ethernet3, EthernetLarge, EthernetENC, UIPEthernet, NativeEthernet, QNEthernet, Portenta-H7, Teensy, SAMD21, SAMD51, SAM DUE, nRF52, ESP32, ESP8266, rpi-pico, rp2040, W5x00, W5500, ENC28J60, HTTP-Client, WebSocket-Client, server, client, websocket, LittleFS, SPIFFS, Arduino, Mega, AVR",
55
"description": "Simple Ethernet WebServer, HTTP Client and WebSocket Client library for AVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, ESP, nRF52, ESP32, ESP8266 and RASPBERRY_PI_PICO boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet/QNEthernet. The WebServer supports HTTP GET and POST requests, provides argument parsing, handles one client at a time. It now provides HTTP Client and WebSocket Client. It supports Arduino boards (Atmel AVR-s, SAM DUE, Atmel SAM3X8E ARM Cortex-M3, SAMD21, SAMD51, ESP8266, ESP32, Adafruit nRF52, Teensy boards, Realtek Ameba(RTL8195A,RTL8710)) using Wiznet W5x00 or ENC28J60 network shields. It now supports WebServer serving from LittleFS/SPIFFS for ESP8266/ESP32.",
66
"authors":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EthernetWebServer
2-
version=1.8.1
2+
version=1.8.2
33
author=Khoi Hoang
44
license=MIT
55
maintainer=Khoi Hoang <khoih.prog@gmail.com>

src/EthernetHttpClient.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.8.1
15+
Version: 1.8.2
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -23,6 +23,7 @@
2323
1.7.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
2424
1.8.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string
2525
1.8.1 K Hoang 24/12/2021 Fix bug
26+
1.8.2 K Hoang 27/12/2021 Fix wrong http status header bug
2627
*************************************************************************************************************************************/
2728

2829
// Library to simplify HTTP fetching on Arduino

src/EthernetWebServer-impl.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.8.1
15+
Version: 1.8.2
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -23,6 +23,7 @@
2323
1.7.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
2424
1.8.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string
2525
1.8.1 K Hoang 24/12/2021 Fix bug
26+
1.8.2 K Hoang 27/12/2021 Fix wrong http status header bug
2627
*************************************************************************************************************************************/
2728

2829
#pragma once
@@ -418,10 +419,12 @@ void EthernetWebServer::_prepareHeader(String& response, int code, const char* c
418419
EWString aResponse = fromString(response);
419420

420421
aResponse = "HTTP/1." + fromString(String(_currentVersion)) + " ";
421-
aResponse += String(code).c_str();
422+
aResponse += fromString(String(code));
422423
aResponse += " ";
423424
aResponse += fromString(_responseCodeToString(code));
424425
aResponse += RETURN_NEWLINE;
426+
427+
ET_LOGDEBUG1(F("_prepareHeader aResponse ="), fromEWString(aResponse));
425428

426429
using namespace mime;
427430

@@ -462,10 +465,12 @@ void EthernetWebServer::_prepareHeader(String& response, int code, const char* c
462465
void EthernetWebServer::_prepareHeader(EWString& response, int code, const char* content_type, size_t contentLength)
463466
{
464467
response = "HTTP/1." + fromString(String(_currentVersion)) + " ";
465-
response += String(code).c_str();
468+
response += fromString(String(code));
466469
response += " ";
467470
response += fromString(_responseCodeToString(code));
468471
response += RETURN_NEWLINE;
472+
473+
ET_LOGDEBUG1(F("_prepareHeader response ="), fromEWString(response));
469474

470475
using namespace mime;
471476

src/EthernetWebServer.h

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,40 @@
11
/****************************************************************************************************************************
2-
EthernetWebServer.h - Dead simple web-server.
3-
For Ethernet shields
4-
5-
EthernetWebServer is a library for the Ethernet shields to run WebServer
6-
7-
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
8-
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer
9-
Licensed under MIT license
10-
11-
Original author:
12-
@file Esp8266WebServer.h
13-
@author Ivan Grokhotkov
14-
15-
Version: 1.8.1
16-
17-
Version Modified By Date Comments
18-
------- ----------- ---------- -----------
19-
1.0.0 K Hoang 13/02/2020 Initial coding for Arduino Mega, Teensy, etc to support Ethernetx libraries
20-
...
21-
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
22-
1.7.0 K Hoang 09/09/2021 Add support to Portenta H7 Ethernet
23-
1.7.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
24-
1.8.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string
25-
1.8.1 K Hoang 24/12/2021 Fix bug
2+
EthernetWebServer.h - Dead simple web-server.
3+
For Ethernet shields
4+
5+
EthernetWebServer is a library for the Ethernet shields to run WebServer
6+
7+
Based on and modified from ESP8266 https://github.com/esp8266/Arduino/releases
8+
Built by Khoi Hoang https://github.com/khoih-prog/EthernetWebServer
9+
Licensed under MIT license
10+
11+
Original author:
12+
@file Esp8266WebServer.h
13+
@author Ivan Grokhotkov
14+
15+
Version: 1.8.2
16+
17+
Version Modified By Date Comments
18+
------- ----------- ---------- -----------
19+
1.0.0 K Hoang 13/02/2020 Initial coding for Arduino Mega, Teensy, etc to support Ethernetx libraries
20+
...
21+
1.6.0 K Hoang 04/09/2021 Add support to QNEthernet Library for Teensy 4.1
22+
1.7.0 K Hoang 09/09/2021 Add support to Portenta H7 Ethernet
23+
1.7.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
24+
1.8.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string
25+
1.8.1 K Hoang 24/12/2021 Fix bug
26+
1.8.2 K Hoang 27/12/2021 Fix wrong http status header bug
2627
*************************************************************************************************************************************/
2728

2829
#pragma once
2930

30-
#define ETHERNET_WEBSERVER_VERSION "EthernetWebServer v1.8.1"
31+
#define ETHERNET_WEBSERVER_VERSION "EthernetWebServer v1.8.2"
3132

3233
#define ETHERNET_WEBSERVER_VERSION_MAJOR 1
3334
#define ETHERNET_WEBSERVER_VERSION_MINOR 8
34-
#define ETHERNET_WEBSERVER_VERSION_PATCH 1
35+
#define ETHERNET_WEBSERVER_VERSION_PATCH 2
3536

36-
#define ETHERNET_WEBSERVER_VERSION_INT 1008001
37+
#define ETHERNET_WEBSERVER_VERSION_INT 1008002
3738

3839
#define USE_NEW_WEBSERVER_VERSION true
3940

src/EthernetWrapper.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.8.1
15+
Version: 1.8.2
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -23,6 +23,7 @@
2323
1.7.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
2424
1.8.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string
2525
1.8.1 K Hoang 24/12/2021 Fix bug
26+
1.8.2 K Hoang 27/12/2021 Fix wrong http status header bug
2627
*************************************************************************************************************************************/
2728
#ifndef EthernetWrapper_h
2829
#define EthernetWrapper_h

src/Ethernet_HTTPClient/Ethernet_HttpClient.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@file Esp8266WebServer.h
1313
@author Ivan Grokhotkov
1414
15-
Version: 1.8.1
15+
Version: 1.8.2
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -23,6 +23,7 @@
2323
1.7.1 K Hoang 04/10/2021 Change option for PIO `lib_compat_mode` from default `soft` to `strict`. Update Packages Patches
2424
1.8.0 K Hoang 19/12/2021 Reduce usage of Arduino String with std::string
2525
1.8.1 K Hoang 24/12/2021 Fix bug
26+
1.8.2 K Hoang 27/12/2021 Fix wrong http status header bug
2627
*************************************************************************************************************************************/
2728

2829
// Class to simplify HTTP fetching on Arduino

0 commit comments

Comments
 (0)