Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 11 of 11) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dwebsocket_request.js305 cookies.forEach(function(cookie) { argument
306 if (!cookie.name || !cookie.value) {
312 cookie.name = cookie.name.replace(controlCharsAndSemicolonRegEx, '');
313 cookie.value = cookie.value.replace(controlCharsAndSemicolonRegEx, '');
340 var cookieParts = [cookie.name + '=' + cookie.value];
344 if(cookie.path){
355 if (cookie.domain) {
370 if (cookie.expires) {
380 if (cookie.maxage) {
395 if (cookie.secure) {
[all …]
/unit/src/
H A Dnxt_app_queue.h51 uint8_t size, uint32_t tracking, int *notify, uint32_t *cookie) in nxt_app_queue_send() argument
67 *cookie = i; in nxt_app_queue_send()
89 nxt_app_queue_cancel(nxt_app_queue_t volatile *q, uint32_t cookie, in nxt_app_queue_cancel() argument
94 qi = (nxt_app_queue_item_t *) &q->items[cookie]; in nxt_app_queue_cancel()
101 nxt_app_queue_recv(nxt_app_queue_t volatile *q, void *p, uint32_t *cookie) in nxt_app_queue_recv() argument
109 *cookie = 0; in nxt_app_queue_recv()
117 *cookie = i; in nxt_app_queue_recv()
H A Dnxt_php_sapi.c56 char *cookie; member
1143 ctx->cookie = nxt_unit_sptr_get(&f->value);
1364 return ctx->cookie;
H A Dnxt_http.h159 nxt_http_field_t *cookie; member
H A Dnxt_unit.c1953 static nxt_str_t cookie = nxt_string("cookie"); in nxt_unit_request_group_dup_fields() local
1985 if (fields[i].name_length == cookie.length in nxt_unit_request_group_dup_fields()
1986 && nxt_unit_memcasecmp(name, cookie.start, in nxt_unit_request_group_dup_fields()
1987 cookie.length) == 0) in nxt_unit_request_group_dup_fields()
6270 uint32_t cookie; in nxt_unit_app_queue_recv() local
6286 rbuf->size = nxt_app_queue_recv(queue, rbuf->buf, &cookie); in nxt_unit_app_queue_recv()
6293 if (nxt_app_queue_cancel(queue, cookie, port_msg->stream)) { in nxt_unit_app_queue_recv()
H A Dnxt_h1proto.c169 offsetof(nxt_http_request_t, cookie) },
H A Dnxt_router.c5333 } else if (field == r->cookie) { in nxt_router_prepare_msg()
/unit/src/java/nginx/unit/
H A DResponse.java154 public void addCookie(Cookie cookie) in addCookie() argument
156 trace("addCookie: " + cookie.getName() + "=" + cookie.getValue()); in addCookie()
166 addCookie_(cookie); in addCookie()
169 private void addCookie_(Cookie cookie) in addCookie_() argument
179 cookie.getValue(), in addCookie_()
180 cookie.getDomain(), in addCookie_()
181 cookie.getPath(), in addCookie_()
182 cookie.getMaxAge(), in addCookie_()
183 cookie.getSecure(), in addCookie_()
189 trace("addSessionIdCookie: " + cookie.getName() + "=" + cookie.getValue()); in addSessionIdCookie()
[all …]
H A DIncludeResponseWrapper.java22 public void addCookie(Cookie cookie) in addCookie() argument
24 trace("addCookie: " + cookie.getName() + "=" + cookie.getValue()); in addCookie()
/unit/test/
H A Dtest_routing.py43 def cookie(self, cookie, status): argument
48 'Cookie': cookie,
1384 self.cookie('foO=bar', 200)
1388 self.cookie('Foo=bar', 404)
1389 self.cookie('foO=Bar', 404)
1411 self.cookie('foo=', 200)
1412 self.cookie('foo=;', 200)
1413 self.cookie(' foo=;', 200)
1414 self.cookie('foo', 404)
1415 self.cookie('', 404)
[all …]
H A Dtest_variables.py338 def check_no_cookie(cookie): argument
343 'Cookie': cookie,