HttpResponse add Connection: close header
This commit is contained in:
parent
c9d4c5699c
commit
cf3251c48c
@ -294,6 +294,7 @@ namespace a8
|
|||||||
{
|
{
|
||||||
std::string response = a8::Format(
|
std::string response = a8::Format(
|
||||||
"HTTP/1.1 %d OK\r\n"
|
"HTTP/1.1 %d OK\r\n"
|
||||||
|
"Connection: close\r\n"
|
||||||
"Content-Type: text/plain\r\n"
|
"Content-Type: text/plain\r\n"
|
||||||
"Content-Length: %d\r\n\r\n%s",
|
"Content-Length: %d\r\n\r\n%s",
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user