From b38277be266cfd6b6c3cc9e00730898f62a11f6e Mon Sep 17 00:00:00 2001 From: Pavel Lang Date: Tue, 18 Sep 2012 18:26:08 +0200 Subject: http: add response.headersSent property Boolean property getter. True if headers was sent, false otherwise. --- doc/api/http.markdown | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/api/http.markdown') diff --git a/doc/api/http.markdown b/doc/api/http.markdown index c6809067ee..8d5cd13874 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -398,6 +398,10 @@ or response.setHeader("Set-Cookie", ["type=ninja", "language=javascript"]); +### response.headersSent + +Boolean (read-only). True if headers were sent, false otherwise. + ### response.sendDate When true, the Date header will be automatically generated and sent in -- cgit v1.2.1