Skip to content

Commit 728144b

Browse files
committed
feat: add server name to headers
1 parent 0c0dc0d commit 728144b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/response.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Response::Response(std::string body, std::string content_type, unsigned int stat
2424
response_stream << i;
2525
}
2626
response_stream << this->body;
27+
28+
this->addHeader("Server: Teapot");
2729
this->raw = response_stream.str();
2830
}
2931

0 commit comments

Comments
 (0)