X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fjcalderonzumba%2Fgastonjs%2Fdocs%2Fapi%2Fcommands%2Fheaders%2Fresponse_headers.md;fp=vendor%2Fjcalderonzumba%2Fgastonjs%2Fdocs%2Fapi%2Fcommands%2Fheaders%2Fresponse_headers.md;h=f253560638dc61ac4e728199fe967c72678d6388;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/jcalderonzumba/gastonjs/docs/api/commands/headers/response_headers.md b/vendor/jcalderonzumba/gastonjs/docs/api/commands/headers/response_headers.md new file mode 100644 index 000000000..f25356063 --- /dev/null +++ b/vendor/jcalderonzumba/gastonjs/docs/api/commands/headers/response_headers.md @@ -0,0 +1,21 @@ +response_headers +======== +This command returns the response headers sent from the page server when making a page request. + +```json +{ + "name":"response_headers", + "args":[] +} +``` +Response should look like: +```json +{ + "response": { + "Host": "127.0.0.1:6789", + "Connection": "close", + "Content-Type": "text/html; charset=UTF-8", + "Content-Length": "671" + } +} +```