Searched refs:encode (Results 26 – 38 of 38) sorted by relevance
12
/unit/test/python/targets/ |
H A D | asgi.py | 34 (b'prefix', scope.get('root_path', 'NULL').encode()),
|
/unit/pkg/deb/debian.module/ |
H A D | unit.example-python-app | 16 return [s.encode('utf8') for s in output]
|
/unit/test/unit/applications/ |
H A D | websockets.py | 30 sha1 = hashlib.sha1((key + GUID).encode()).digest() 70 return struct.pack('!H', code) + reason.encode('utf-8') 157 data = data.encode('utf-8')
|
/unit/test/python/delayed/ |
H A D | asgi.py | 37 (b'content-length', str(len(body)).encode()),
|
/unit/src/java/nginx/unit/websocket/ |
H A D | WsRemoteEndpointImplBase.java | 248 CoderResult cr = encoder.encode(part, encoderBuffer, true); in sendMessageBlock() 554 String msg = ((Encoder.Text) encoder).encode(obj); in sendObject() 558 ((Encoder.TextStream) encoder).encode(obj, w); in sendObject() 561 ByteBuffer msg = ((Encoder.Binary) encoder).encode(obj); in sendObject() 565 ((Encoder.BinaryStream) encoder).encode(obj, os); in sendObject() 610 String msg = ((Encoder.Text) encoder).encode(obj); in sendObjectByCompletion() 614 ((Encoder.TextStream) encoder).encode(obj, w); in sendObjectByCompletion() 618 ByteBuffer msg = ((Encoder.Binary) encoder).encode(obj); in sendObjectByCompletion() 622 ((Encoder.BinaryStream) encoder).encode(obj, os); in sendObjectByCompletion() 768 CoderResult cr = encoder.encode(message, buffer, true); in write()
|
/unit/test/ |
H A D | test_proxy_chunked.py | 89 connection.sendall(chunk.encode())
|
H A D | test_asgi_application.py | 31 {body}""".encode(),
|
H A D | test_settings.py | 275 sock.sendall(req.encode())
|
H A D | test_python_application.py | 34 {body}""".encode(),
|
H A D | test_java_websockets.py | 1239 payload = struct.pack('!I', 65536) + ''.encode('utf-8')
|
H A D | test_node_websockets.py | 1259 payload = struct.pack('!I', 65536) + ''.encode('utf-8')
|
H A D | test_asgi_websockets.py | 1311 payload = struct.pack('!I', 65536) + ''.encode('utf-8')
|
/unit/src/ |
H A D | nxt_http_static.c | 304 size_t length, encode; in nxt_http_static_send_ready() local 618 encode = nxt_encode_uri(NULL, r->path->start, r->path->length); in nxt_http_static_send_ready() 619 length = r->path->length + encode * 2 + 1; in nxt_http_static_send_ready() 633 if (encode > 0) { in nxt_http_static_send_ready()
|
12