Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 12 of 12) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dhttp_server.js240 } else if (typeof encoding === 'function') {
241 callback = encoding;
242 encoding = null;
301 if (typeof encoding === 'function') {
302 callback = encoding;
303 encoding = null;
323 if (typeof encoding === 'function') {
324 callback = encoding;
325 encoding = null;
328 this._writeBody(chunk, encoding, () => {
[all …]
H A Dsocket.js64 Socket.prototype.end = function end(data, encoding, callback) { argument
76 Socket.prototype.setEncoding = function setEncoding(encoding) { argument
100 Socket.prototype.write = function write(data, encoding, callback) { argument
H A Dutils.js19 function oldBufferFromString(string, encoding) {
20 return new Buffer(string, encoding);
/unit/test/unit/
H A Dlog.py8 def open(name=UNIT_LOG, encoding=None): argument
9 f = open(Log.get_path(name), 'r', encoding=encoding, errors='ignore')
H A Dhttp.py90 encoding = kwargs.get('encoding', 'utf-8')
92 self.log_out(req, encoding)
106 encoding, errors='ignore'
120 encoding
132 def log_out(self, log, encoding): argument
137 print(log.decode(encoding, 'ignore'))
/unit/src/
H A Dnxt_http_route.c175 nxt_http_uri_encoding_t encoding);
181 nxt_http_uri_encoding_t encoding);
183 nxt_http_uri_encoding_t encoding);
187 nxt_http_uri_encoding_t encoding,
775 nxt_http_uri_encoding_t encoding) in nxt_http_route_rule_name_create() argument
782 encoding); in nxt_http_route_rule_name_create()
804 nxt_http_uri_encoding_t encoding) in nxt_http_route_rule_create() argument
928 nxt_http_uri_encoding_t encoding) in nxt_http_route_pattern_create() argument
1128 switch (encoding) { in nxt_http_route_decode_str()
1165 nxt_http_uri_encoding_t encoding, in nxt_http_route_pattern_slice() argument
[all …]
H A Dnxt_http_request.c1110 uint8_t encoding) in nxt_http_field_hash() argument
1129 if (encoding == NXT_HTTP_URI_ENCODING_NONE) { in nxt_http_field_hash()
1141 plus = (encoding == NXT_HTTP_URI_ENCODING_PLUS) ? ' ' : '+'; in nxt_http_field_hash()
H A Dnxt_http.h344 nxt_bool_t case_sensitive, uint8_t encoding);
/unit/test/
H A Dconftest.py305 with Log.open(encoding='utf-8') as f:
484 with Log.open(encoding='utf-8') as f:
521 with open(path, 'r', encoding='utf-8', errors='ignore') as f:
H A Dtest_http_header.py132 encoding='latin1',
/unit/
H A DCHANGES372 *) Feature: chunked transfer encoding in proxy responses.
409 *) Feature: support for percent-encoding in the "uri" and "arguments"
540 slashes "/" using URI encoding (%2F).
824 *) Bugfix: Ruby applications that use encoding conversions might not
/unit/src/java/nginx/unit/
H A DContext.java3615 public void setRequestCharacterEncoding(String encoding)
3617 log("setRequestCharacterEncoding: " + encoding);
3629 public void setResponseCharacterEncoding(String encoding)
3631 log("setResponseCharacterEncoding: " + encoding);