diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-05-02 16:38:27 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-05-02 16:39:55 -0700 |
commit | 856a8a7e061845d5db617cc407c92aabdb4679a0 (patch) | |
tree | 12c4be7474165f0c3287c70fbe526df3d08b7741 | |
parent | 7f1597ea01cac380393fb4d50e458204059beb24 (diff) | |
download | kcar-856a8a7e061845d5db617cc407c92aabdb4679a0.tar.gz |
-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); |