diff options
Diffstat (limited to 'src/nxt_http_response.c')
-rw-r--r-- | src/nxt_http_response.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_http_response.c b/src/nxt_http_response.c index 330890c1..755182db 100644 --- a/src/nxt_http_response.c +++ b/src/nxt_http_response.c @@ -21,6 +21,8 @@ nxt_lvlhsh_t nxt_response_fields_hash; static nxt_http_field_proc_t nxt_response_fields[] = { { nxt_string("Status"), &nxt_http_response_status, 0 }, { nxt_string("Server"), &nxt_http_response_skip, 0 }, + { nxt_string("Date"), &nxt_http_response_field, + offsetof(nxt_http_request_t, resp.date) }, { nxt_string("Connection"), &nxt_http_response_skip, 0 }, { nxt_string("Content-Type"), &nxt_http_response_field, offsetof(nxt_http_request_t, resp.content_type) }, |