---host: <%= Deno.env.get('HOST') || 'https://faker.deno.dev' %>---###---data: Garnname: hasData---POST /pong?quiet=truex-data: <%= meta.data %>
Hola <%= meta.data %>!
HTTP/1.1 200 OKcontent-type: <%= request.headers.get("content-type") %>
Hola Garn!<% false && console.log('hola mundo') %>###GET /pong?quiet=trueread-from-name: <%= hasData.meta.data %>
###---name: must fail---GET /pongquiet: true
<% assert(false, 'ups') %>
###---name: must work---POST /pong?quiet=true
hola
HTTP/1.1 200 OK
<%= 'hola' %><% assert(true, 'ups') %>
###---name: must read another request---POST /pongquiet: truex-payload: <%= hasData.request.headers.get('x-data') + '?' %>
<%= hasData.request.headers.get('x-data') + '!' %>HTTP/1.1 200 OKx-payload: Garn?
Garn!
###---name: must read same request---POST /pongquiet: true
body
HTTP/1.1 200 OK
<%= await request.getBody() %>
###---name: must read same response---POST /pongquiet: trueadios: mundo
body ¿?
HTTP/1.1 <%= response.status %> <%= response.statusText %>hola: mundo<% response.headers.forEach((v, k) => { %> <%= k %>: <%= v +'\n'%> <% }) %><%= await response.getBody() + '!' %>
###---name: must interpolate ts---POST /pong?quiet=truex-quiet: true
<% const a = 1; %><%= a %>