Home
last modified time | relevance | path

Searched refs:location (Results 1 – 12 of 12) sorted by last modified time

/unit/docs/
H A Dunit-openapi.yaml4402 location:
4926 location: "https://www.example.com"
5617 description: "Defines the php.ini location and options."
5948 location:
/unit/
H A DCHANGES48 *) Bugfix: Node.js tarball location changed to avoid build/install
235 *) Feature: variables support in the "location" option of the "return"
238 *) Feature: support empty strings in the "location" option of the
604 *) Feature: a "return" action with optional "location" for immediate
/unit/test/
H A Dtest_variables.py38 def check_dollar(location, expect): argument
H A Dtest_return.py99 def check_location(location, expect=None): argument
101 expect = location
104 {"return": 301, "location": location}, 'routes/0/action'
/unit/src/
H A Dnxt_controller.c2486 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 Dnxt_http_route.c604 offsetof(nxt_http_action_conf_t, location)
H A Dnxt_http.h234 nxt_conf_value_t *location; member
H A Dnxt_http_return.c12 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 …]
/unit/src/java/
H A Dnxt_jni_Response.c626 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/src/java/nginx/unit/
H A DContext.java1017 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 …]
H A DIncludeResponseWrapper.java46 public void sendRedirect(String location) throws IOException in sendRedirect() argument
48 trace("sendRedirect: " + location); in sendRedirect()
H A DResponse.java425 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