File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -482,15 +482,15 @@ $t->write_file('test.js', <<EOF);
482
482
['method', async () => {
483
483
var req = new Request("http://127.0.0.1:$p0 /method",
484
484
{method: 'PUT'});
485
- var r = await ngx.fetch(req);
486
- var body = await r.text();
485
+ var r = await ngx.fetch(req);
486
+ var body = await r.text();
487
487
return `\$ {r.url}: \$ {r.status} \$ {body} \$ {r.headers.get('a')}`;
488
488
}, 'http://127.0.0.1:$p0 /method: 200 PUT null'],
489
489
['request body', async () => {
490
490
var req = new Request("http://127.0.0.1:$p0 /body",
491
491
{body: 'foo'});
492
- var r = await ngx.fetch(req);
493
- var body = await r.text();
492
+ var r = await ngx.fetch(req);
493
+ var body = await r.text();
494
494
return `\$ {r.url}: \$ {r.status} \$ {body}`;
495
495
}, 'http://127.0.0.1:$p0 /body: 201 foo'],
496
496
];
You can’t perform that action at this time.
0 commit comments