javascript_inclusion.test
418 Bytes
Content-type: application/json
{"foo":"bar"}
----------------------------------------------------
[
["header-name", "Content-type:"],
" application/json",
["application/json", [
["punctuation", "{"],
["string", "\"foo\""],
["punctuation", ":"],
["string", "\"bar\""],
["punctuation", "}"]
]]
]
----------------------------------------------------
Checks for JSON content in HTTP.