Deleted
Added
nxt_http_response.c (543:85c9c538983c) | nxt_http_response.c (1131:ec7d924d8dfb) |
---|---|
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_router.h> 8#include <nxt_http.h> --- 14 unchanged lines hidden (view full) --- 23 { nxt_string("Server"), &nxt_http_response_skip, 0 }, 24 { nxt_string("Date"), &nxt_http_response_field, 25 offsetof(nxt_http_request_t, resp.date) }, 26 { nxt_string("Connection"), &nxt_http_response_skip, 0 }, 27 { nxt_string("Content-Type"), &nxt_http_response_field, 28 offsetof(nxt_http_request_t, resp.content_type) }, 29 { nxt_string("Content-Length"), &nxt_http_response_field, 30 offsetof(nxt_http_request_t, resp.content_length) }, | 1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_router.h> 8#include <nxt_http.h> --- 14 unchanged lines hidden (view full) --- 23 { nxt_string("Server"), &nxt_http_response_skip, 0 }, 24 { nxt_string("Date"), &nxt_http_response_field, 25 offsetof(nxt_http_request_t, resp.date) }, 26 { nxt_string("Connection"), &nxt_http_response_skip, 0 }, 27 { nxt_string("Content-Type"), &nxt_http_response_field, 28 offsetof(nxt_http_request_t, resp.content_type) }, 29 { nxt_string("Content-Length"), &nxt_http_response_field, 30 offsetof(nxt_http_request_t, resp.content_length) }, |
31 { nxt_string("Upgrade"), &nxt_http_response_skip, 0 }, 32 { nxt_string("Sec-WebSocket-Accept"), &nxt_http_response_skip, 0 }, |
|
31}; 32 33 34nxt_int_t 35nxt_http_response_hash_init(nxt_task_t *task, nxt_runtime_t *rt) 36{ 37 return nxt_http_fields_hash(&nxt_response_fields_hash, rt->mem_pool, 38 nxt_response_fields, nxt_nitems(nxt_response_fields)); --- 47 unchanged lines hidden --- | 33}; 34 35 36nxt_int_t 37nxt_http_response_hash_init(nxt_task_t *task, nxt_runtime_t *rt) 38{ 39 return nxt_http_fields_hash(&nxt_response_fields_hash, rt->mem_pool, 40 nxt_response_fields, nxt_nitems(nxt_response_fields)); --- 47 unchanged lines hidden --- |