feat: add Server header
This commit is contained in:
parent
d725a090a2
commit
8f9de37a95
2 changed files with 4 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
||||
|
||||
static const char *http_response_format = "HTTP/1.1 %i %s\n"
|
||||
"Server: lander/" LANDER_VERSION "\n"
|
||||
"Content-Length: %lu\n\n";
|
||||
|
||||
void http_loop_init_header(http_response *res) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue