diff options
Diffstat (limited to 'ext/kcar/kcar.rl')
-rw-r--r-- | ext/kcar/kcar.rl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/kcar/kcar.rl b/ext/kcar/kcar.rl index e53de45..5f2a1c1 100644 --- a/ext/kcar/kcar.rl +++ b/ext/kcar/kcar.rl @@ -467,6 +467,13 @@ static VALUE body_bytes_left(VALUE self) return Qnil; } +/** + * Document-method: chunked + * call-seq: + * parser.chunked? => true or false + * + * This is used to detect if a response uses chunked Transfer-Encoding or not. + */ static VALUE chunked(VALUE self) { struct http_parser *hp = data_get(self); |