From 420f5baf98cb1b19209977e5552107ab3222767f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 8 May 2011 17:26:21 +0200 Subject: Add chunked reply support. Send the status line and headers using cowboy_http_req:chunked_reply/3, and individual chunks with cowboy_http_req:chunk/2. --- include/http.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/http.hrl b/include/http.hrl index e6c37a9..20c63cb 100644 --- a/include/http.hrl +++ b/include/http.hrl @@ -65,5 +65,5 @@ buffer = <<>> :: binary(), %% Response. - resp_state = locked :: locked | waiting | done + resp_state = locked :: locked | waiting | chunks | done }). -- cgit v1.2.3