miller/go/regtest/input/json-stringify-0002.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

9 lines
410 B
JSON

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