Home
last modified time | relevance | path

Searched refs:content_type (Results 1 – 24 of 24) sorted by relevance

/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_header_filter_module.c224 ngx_str_null(&r->headers_out.content_type); in ngx_http_header_filter()
298 if (r->headers_out.content_type.len) { in ngx_http_header_filter()
300 + r->headers_out.content_type.len + 2; in ngx_http_header_filter()
302 if (r->headers_out.content_type_len == r->headers_out.content_type.len in ngx_http_header_filter()
476 if (r->headers_out.content_type.len) { in ngx_http_header_filter()
480 b->last = ngx_copy(b->last, r->headers_out.content_type.data, in ngx_http_header_filter()
481 r->headers_out.content_type.len); in ngx_http_header_filter()
483 if (r->headers_out.content_type_len == r->headers_out.content_type.len in ngx_http_header_filter()
493 r->headers_out.content_type.len = b->last - p; in ngx_http_header_filter()
494 r->headers_out.content_type.data = p; in ngx_http_header_filter()
H A Dngx_http_request.h194 ngx_table_elt_t *content_type; member
277 ngx_str_t content_type; member
H A Dngx_http_special_response.c452 r->headers_out.content_type.len = 0; in ngx_http_special_response_handler()
700 ngx_str_set(&r->headers_out.content_type, "text/html"); in ngx_http_send_special_response()
798 ngx_str_set(&r->headers_out.content_type, "text/html"); in ngx_http_send_refresh()
H A Dngx_http_core_module.c1479 if (r->headers_out.content_type.len == 0) { in ngx_http_test_content_type()
1518 if (r->headers_out.content_type.len) { in ngx_http_set_content_type()
1553 r->headers_out.content_type = *type; in ngx_http_set_content_type()
1560 r->headers_out.content_type = clcf->default_type; in ngx_http_set_content_type()
1710 r->headers_out.content_type = *ct; in ngx_http_send_response()
3132 ngx_str_t *value, *content_type, *old; in ngx_http_core_type() local
3149 content_type = ngx_palloc(cf->pool, sizeof(ngx_str_t)); in ngx_http_core_type()
3150 if (content_type == NULL) { in ngx_http_core_type()
3154 *content_type = value[0]; in ngx_http_core_type()
3164 type[n].value = content_type; in ngx_http_core_type()
[all …]
H A Dngx_http_upstream.h274 ngx_table_elt_t *content_type; member
H A Dngx_http_variables.c190 offsetof(ngx_http_request_t, headers_in.content_type), 0, 0 },
1801 if (r->headers_out.content_type.len) { in ngx_http_variable_sent_content_type()
1802 v->len = r->headers_out.content_type.len; in ngx_http_variable_sent_content_type()
1806 v->data = r->headers_out.content_type.data; in ngx_http_variable_sent_content_type()
H A Dngx_http_upstream.c205 offsetof(ngx_http_upstream_headers_in_t, content_type),
4997 r->headers_out.content_type = h->value; in ngx_http_upstream_copy_content_type()
H A Dngx_http_request.c122 offsetof(ngx_http_headers_in_t, content_type),
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_range_filter_module.c474 + r->headers_out.content_type.len in ngx_http_range_multipart_header()
477 if (r->headers_out.content_type_len == r->headers_out.content_type.len in ngx_http_range_multipart_header()
506 &r->headers_out.content_type, in ngx_http_range_multipart_header()
510 } else if (r->headers_out.content_type.len) { in ngx_http_range_multipart_header()
516 &r->headers_out.content_type) in ngx_http_range_multipart_header()
527 r->headers_out.content_type.data = in ngx_http_range_multipart_header()
532 if (r->headers_out.content_type.data == NULL) { in ngx_http_range_multipart_header()
540 r->headers_out.content_type.len = in ngx_http_range_multipart_header()
541 ngx_sprintf(r->headers_out.content_type.data, in ngx_http_range_multipart_header()
544 - r->headers_out.content_type.data; in ngx_http_range_multipart_header()
[all …]
H A Dngx_http_autoindex_module.c263 ngx_str_set(&r->headers_out.content_type, "application/json"); in ngx_http_autoindex_handler()
267 ngx_str_set(&r->headers_out.content_type, "application/javascript"); in ngx_http_autoindex_handler()
271 ngx_str_set(&r->headers_out.content_type, "text/xml"); in ngx_http_autoindex_handler()
276 ngx_str_set(&r->headers_out.content_type, "text/html"); in ngx_http_autoindex_handler()
280 r->headers_out.content_type_len = r->headers_out.content_type.len; in ngx_http_autoindex_handler()
H A Dngx_http_not_modified_filter_module.c96 r->headers_out.content_type.len = 0; in ngx_http_not_modified_header_filter()
H A Dngx_http_stub_status_module.c103 ngx_str_set(&r->headers_out.content_type, "text/plain"); in ngx_http_stub_status_handler()
H A Dngx_http_xslt_filter_module.c612 r->headers_out.content_type.len = len; in ngx_http_xslt_apply_stylesheet()
613 r->headers_out.content_type.data = type; in ngx_http_xslt_apply_stylesheet()
618 ngx_str_set(&r->headers_out.content_type, "text/html"); in ngx_http_xslt_apply_stylesheet()
H A Dngx_http_image_filter_module.c244 if (r->headers_out.content_type.len in ngx_http_image_header_filter()
246 && ngx_strncasecmp(r->headers_out.content_type.data, in ngx_http_image_header_filter()
342 r->headers_out.content_type = *ct; in ngx_http_image_body_filter()
596 ngx_str_set(&r->headers_out.content_type, "application/json"); in ngx_http_image_json()
H A Dngx_http_charset_filter_module.c276 r->headers_out.content_type.len = r->headers_out.content_type_len; in ngx_http_charset_header_filter()
300 r->headers_out.content_type.len = r->headers_out.content_type_len; in ngx_http_charset_header_filter()
325 if (r->headers_out.content_type.len == 0) { in ngx_http_destination_charset()
H A Dngx_http_ssi_filter_module.c2218 r->headers_out.content_type = r->parent->headers_out.content_type; in ngx_http_ssi_stub_output()
/f-stack/app/nginx-1.16.1/conf/
H A Duwsgi_params4 uwsgi_param CONTENT_TYPE $content_type;
H A Dscgi_params5 scgi_param CONTENT_TYPE $content_type;
H A Dfastcgi.conf5 fastcgi_param CONTENT_TYPE $content_type;
H A Dfastcgi_params4 fastcgi_param CONTENT_TYPE $content_type;
/f-stack/freebsd/arm/nvidia/drm2/
H A Dhdmi.c140 ((frame->content_type & 0x3) << 4) | in hdmi_avi_infoframe_pack()
643 hdmi_content_type_get_name(enum hdmi_content_type content_type) in hdmi_content_type_get_name() argument
645 switch (content_type) { in hdmi_content_type_get_name()
688 hdmi_content_type_get_name(frame->content_type)); in hdmi_avi_infoframe_log()
1035 frame->content_type = (ptr[4] >> 4) & 0x3; in hdmi_avi_infoframe_unpack()
H A Dhdmi.h151 enum hdmi_content_type content_type; member
/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2_filter_module.c202 ngx_str_null(&r->headers_out.content_type); in ngx_http_v2_header_filter()
279 if (r->headers_out.content_type.len) { in ngx_http_v2_header_filter()
280 len += 1 + NGX_HTTP_V2_INT_OCTETS + r->headers_out.content_type.len; in ngx_http_v2_header_filter()
519 if (r->headers_out.content_type.len) { in ngx_http_v2_header_filter()
525 len = r->headers_out.content_type.len + sizeof("; charset=") - 1 in ngx_http_v2_header_filter()
533 p = ngx_cpymem(p, r->headers_out.content_type.data, in ngx_http_v2_header_filter()
534 r->headers_out.content_type.len); in ngx_http_v2_header_filter()
543 r->headers_out.content_type.len = len; in ngx_http_v2_header_filter()
544 r->headers_out.content_type.data = p - len; in ngx_http_v2_header_filter()
549 &r->headers_out.content_type); in ngx_http_v2_header_filter()
[all …]
/f-stack/app/nginx-1.16.1/src/http/modules/perl/
H A Dnginx.xs136 if (ngx_http_perl_sv2str(aTHX_ r, &r->headers_out.content_type, sv)
142 r->headers_out.content_type_len = r->headers_out.content_type.len;