Skip to main content
Module

x/tepi/http/parser.http

A .http Test Runner
Go to Latest
File
---host: <%= Deno.env.get('HOST') || 'https://faker.deno.dev' %>---###
---id: must fail parsing request---GET /pongquiet: true
<% throw new Error('parse request fail') %>###---id: must fail parsing response---GET /pongquiet: true
HTTP/1.1 200 OK
<% assert(false, 'parse response fail') %>###---meta <% assert(false, 'parse meta fail') %>id: must fail parsing meta---
GET /pongquiet: true
HTTP/1.1 200 OK