Deleted Added
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_router.h>
8#include <nxt_http.h>

--- 7 unchanged lines hidden (view full) ---

16 uintptr_t offset);
17
18
19nxt_lvlhsh_t nxt_response_fields_hash;
20
21static nxt_http_field_proc_t nxt_response_fields[] = {
22 { nxt_string("Status"), &nxt_http_response_status, 0 },
23 { nxt_string("Server"), &nxt_http_response_skip, 0 },
24 { nxt_string("Connection"), &nxt_http_response_skip, 0 },
25 { nxt_string("Content-Type"), &nxt_http_response_field,
26 offsetof(nxt_http_request_t, resp.content_type) },
27 { nxt_string("Content-Length"), &nxt_http_response_field,
28 offsetof(nxt_http_request_t, resp.content_length) },
29};
30
31

--- 52 unchanged lines hidden ---