Capitalization in the "Server" field.

This commit is contained in:
Valentin Bartenev
2018-03-13 20:32:47 +03:00
parent 1ac9db4750
commit bebc5845f8
4 changed files with 5 additions and 5 deletions

View File

@@ -282,7 +282,7 @@ nxt_http_request_header_send(nxt_task_t *task, nxt_http_request_t *r)
goto fail;
}
nxt_http_field_set(server, "Server", "unit/" NXT_VERSION);
nxt_http_field_set(server, "Server", "Unit/" NXT_VERSION);
if (r->resp.date == NULL) {
date = nxt_list_zero_add(r->resp.fields);