Searched refs:content_type (Results 1 – 11 of 11) sorted by relevance
/unit/src/ |
H A D | nxt_http_error.c | 31 nxt_http_field_t *content_type; in nxt_http_request_error() local 48 content_type = nxt_list_zero_add(r->resp.fields); in nxt_http_request_error() 49 if (nxt_slow_path(content_type == NULL)) { in nxt_http_request_error() 53 nxt_http_field_set(content_type, "Content-Type", "text/html"); in nxt_http_request_error()
|
H A D | nxt_http_response.c | 28 offsetof(nxt_http_request_t, resp.content_type) },
|
H A D | nxt_http.h | 110 nxt_http_field_t *content_type; member 155 nxt_http_field_t *content_type; member
|
H A D | nxt_php_sapi.c | 1059 SG(request_info).content_type = nxt_unit_sptr_get(&f->value);
|
H A D | nxt_unit.c | 1938 static nxt_str_t content_type = nxt_string("content-type"); in nxt_unit_request_group_dup_fields() local 1961 if (fields[i].name_length == content_type.length in nxt_unit_request_group_dup_fields() 1962 && nxt_unit_memcasecmp(name, content_type.start, in nxt_unit_request_group_dup_fields() 1963 content_type.length) == 0) in nxt_unit_request_group_dup_fields()
|
H A D | nxt_h1proto.c | 175 offsetof(nxt_http_request_t, content_type) },
|
H A D | nxt_router.c | 5655 } else if (field == r->content_type) { in nxt_router_prepare_msg()
|
/unit/src/java/nginx/unit/ |
H A D | Request.java | 314 private boolean checkMultiPart(String content_type) in checkMultiPart() argument 316 return content_type != null in checkMultiPart() 322 String content_type = getContentType(); in parseMultiParts() local 324 if (!checkMultiPart(content_type)) { in parseMultiParts() 332 parseMultiParts(content_type); in parseMultiParts() 340 content_type, multipart_config, tmpDir); in parseMultiParts() 724 String content_type = getContentType(req_ptr); in getContentType() local 726 if (characterEncoding == null && content_type != null) { in getContentType() 734 return content_type; in getContentType() 841 String content_type = getContentType(); in getParameters() local [all …]
|
/unit/test/unit/ |
H A D | http.py | 68 body, content_type = self.form_encode(body) 70 headers['Content-Type'] = content_type 301 body, content_type = self.multipart_encode(fields) 304 body, content_type = self.form_url_encode(fields) 306 return body, content_type
|
/unit/test/ |
H A D | test_java_application.py | 970 encoded, content_type = self.multipart_encode(fields) 978 'Content-Type': content_type,
|
/unit/src/java/ |
H A D | nxt_jni_Response.c | 1032 static const char content_type[] = "Content-Type"; in nxt_java_Response_setContentType() local 1033 static const uint32_t content_type_len = sizeof(content_type) - 1; in nxt_java_Response_setContentType() 1043 content_type, content_type_len, in nxt_java_Response_setContentType()
|