Searched refs:location (Results 1 – 12 of 12) sorted by relevance
/unit/src/ |
H A D | nxt_http_return.c | 12 nxt_tstr_t *location; member 18 nxt_str_t location; member 26 const nxt_str_t *location); 54 if (acf->location == NULL) { in nxt_http_return_init() 88 if (conf->location == NULL) { in nxt_http_return() 134 nxt_tstr_query(task, r->tstr_query, conf->location, &ctx->location); in nxt_http_return() 152 const nxt_str_t *location) in nxt_http_return_encode() argument 156 if (nxt_is_complex_uri_encoded(location->start, location->length)) { in nxt_http_return_encode() 157 *encoded = *location; in nxt_http_return_encode() 162 encode = nxt_encode_complex_uri(NULL, location->start, location->length); in nxt_http_return_encode() [all …]
|
H A D | nxt_controller.c | 2486 nxt_conf_value_t *value, *location; in nxt_controller_response() local 2565 location = nxt_conf_create_object(c->mem_pool, in nxt_controller_response() 2568 nxt_conf_set_member(value, &location_str, location, n); in nxt_controller_response() 2570 nxt_conf_set_member_integer(location, &offset_str, resp->offset, 0); in nxt_controller_response() 2573 nxt_conf_set_member_integer(location, &line_str, in nxt_controller_response() 2576 nxt_conf_set_member_integer(location, &column_str, in nxt_controller_response()
|
H A D | nxt_http.h | 234 nxt_conf_value_t *location; member
|
H A D | nxt_http_route.c | 604 offsetof(nxt_http_action_conf_t, location)
|
/unit/test/ |
H A D | test_return.py | 98 def check_location(location, expect=None): argument 100 expect = location 103 {"return": 301, "location": location}, 'routes/0/action'
|
H A D | test_variables.py | 38 def check_dollar(location, expect): argument
|
/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 | 626 static const char location[] = "Location"; in nxt_java_Response_sendRedirect() local 627 static const uint32_t location_len = sizeof(location) - 1; in nxt_java_Response_sendRedirect() 653 rc = nxt_java_response_set_header(req_info_ptr, location, location_len, in nxt_java_Response_sendRedirect()
|
/unit/ |
H A D | CHANGES | 182 *) Feature: variables support in the "location" option of the "return" 185 *) Feature: support empty strings in the "location" option of the 551 *) Feature: a "return" action with optional "location" for immediate
|
/unit/docs/ |
H A D | unit-openapi.yaml | 4402 location: 4926 location: "https://www.example.com" 5617 description: "Defines the php.ini location and options." 5948 location:
|