Searched refs:location (Results 1 – 10 of 10) sorted by relevance
/unit/src/ |
H A D | nxt_http_return.c | 12 nxt_var_t *location; member 18 nxt_str_t location; member 26 const nxt_str_t *location); 51 if (acf->location == NULL) { in nxt_http_return_init() 84 if (conf->location == NULL) { in nxt_http_return() 127 nxt_var_query(task, r->var_query, conf->location, &ctx->location); in nxt_http_return() 145 const nxt_str_t *location) in nxt_http_return_encode() argument 149 if (nxt_is_complex_uri_encoded(location->start, location->length)) { in nxt_http_return_encode() 150 *encoded = *location; in nxt_http_return_encode() 155 encode = nxt_encode_complex_uri(NULL, location->start, location->length); in nxt_http_return_encode() [all …]
|
H A D | nxt_controller.c | 1963 nxt_conf_value_t *value, *location; in nxt_controller_response() local 2042 location = nxt_conf_create_object(c->mem_pool, in nxt_controller_response() 2045 nxt_conf_set_member(value, &location_str, location, n); in nxt_controller_response() 2047 nxt_conf_set_member_integer(location, &offset_str, resp->offset, 0); in nxt_controller_response() 2050 nxt_conf_set_member_integer(location, &line_str, in nxt_controller_response() 2053 nxt_conf_set_member_integer(location, &column_str, in nxt_controller_response()
|
H A D | nxt_http.h | 225 nxt_conf_value_t *location; member
|
H A D | nxt_http_route.c | 594 offsetof(nxt_http_action_conf_t, location)
|
/unit/test/ |
H A D | test_return.py | 94 def check_location(location, expect=None): argument 96 expect = location 99 {"return": 301, "location": location}, 'routes/0/action'
|
/unit/src/java/nginx/unit/ |
H A D | IncludeResponseWrapper.java | 46 public void sendRedirect(String location) throws IOException in sendRedirect() argument 48 trace("sendRedirect: " + location); in sendRedirect()
|
H A D | Response.java | 425 public void sendRedirect(String location) throws IOException in sendRedirect() argument 427 trace("sendRedirect: " + location); in sendRedirect() 434 URI uri = new URI(location); in sendRedirect() 440 location = uri.toString(); in sendRedirect() 447 sendRedirect(req_info_ptr, location.getBytes(ISO_8859_1)); in sendRedirect() 450 private static native void sendRedirect(long req_info_ptr, byte[] location); in sendRedirect() argument
|
H A D | Context.java | 1017 String location; in handleException() local 1023 if (location != null) { in handleException() 1031 handleError(location, req, resp); in handleException() 1049 String location; in handleStatusCode() local 1051 location = error2location_.get(code); in handleStatusCode() 1053 if (location != null) { in handleStatusCode() 1058 handleError(location, req, resp); in handleStatusCode() 1066 log("handleError: " + location); in handleError() 1076 if (location.startsWith("/")) { in handleError() 1077 uri = new URI(context_path_ + location); in handleError() [all …]
|
/unit/src/java/ |
H A D | nxt_jni_Response.c | 625 static const char location[] = "Location"; in nxt_java_Response_sendRedirect() local 626 static const uint32_t location_len = sizeof(location) - 1; in nxt_java_Response_sendRedirect() 652 rc = nxt_java_response_set_header(req_info_ptr, location, location_len, in nxt_java_Response_sendRedirect()
|
/unit/ |
H A D | CHANGES | 7 *) Feature: variables support in the "location" option of the "return" 10 *) Feature: support empty strings in the "location" option of the 376 *) Feature: a "return" action with optional "location" for immediate
|