Version 1
[yaffs-website] / vendor / jcalderonzumba / gastonjs / docs / api / commands / headers / response_headers.md
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 (file)
index 0000000..f253560
--- /dev/null
@@ -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"
+    }
+}
+```