miller/go/regtest/input/json-stringify-0009.json
John Kerl b06c449384
Make regression tests invokable from 'go test' (#491)
* incorporate reg-test into "go test" framework
* reg-test -> regtest everywhere
* update .github/workflows/go.yml
2021-04-12 23:00:53 -04:00

18 lines
455 B
JSON

{
"hostname": "localhost",
"pid": 12345,
"req": "{\n \"id\": 6789,\n \"method\": \"GET\",\n \"path\": \"api/check\",\n \"host\": \"foo.bar\",\n \"headers\": {\n \"host\": \"bar.baz\",\n \"user-agent\": \"browser\"\n }\n}",
"res": {
"status_code": 200,
"header": {
"content-type": "text",
"content-encoding": "plain"
}
},
"empty1": {},
"empty2": [],
"wrapper": {
"empty3": {},
"emtpy4": []
}
}