httpSuccess() extraHeaders when used causes no response body to show
Closed this issue · 3 comments
sirleech commented
httpSuccess() extraHeaders when used causes no response body to show
gfoiani commented
Try substituting in the file WebServer.cpp (at lines 266-267):
if (extraHeaders)
print(extraHeaders);
with the following code:
if (extraHeaders) {
print(extraHeaders);
printCRLF();
}
HTTP Responses needs to end with double CRLF.
For me it works.
Giovanni
sirleech commented
Committed the above fix. Thanks Giovanni.