comparison js_headers.t @ 1781:386748f328b1

Tests: updated js properties deprecated since 0.5.0.
author Dmitry Volyntsev <xeioex@nginx.com>
date Tue, 02 Aug 2022 20:35:05 -0700
parents 410072f42157
children 520fb74cce4c
comparison
equal deleted inserted replaced
1780:bd21a4a7c9f5 1781:386748f328b1
377 377
378 for (const h in resp.headersOut) { 378 for (const h in resp.headersOut) {
379 r.headersOut[h] = resp.headersOut[h]; 379 r.headersOut[h] = resp.headersOut[h];
380 } 380 }
381 381
382 r.return(200, resp.responseBody); 382 r.return(200, resp.responseText);
383 } 383 }
384 384
385 function subrequest(r) { 385 function subrequest(r) {
386 r.headersOut['A'] = 'a'; 386 r.headersOut['A'] = 'a';
387 r.headersOut['Content-Encoding'] = 'ce'; 387 r.headersOut['Content-Encoding'] = 'ce';