@@ -57,8 +57,7 @@ connections, for a proxy...
5757- ` {ok, binary(), parser()} ` : on body, when a chunk has been
5858parsed. To continue the parsing you must call
5959` hackney_http:execute/1 ` with the given ` parser() ` .
60- - ` done ` : when the parsing is done
61- - ` {done, binary()} ` : on body, when no more need to be parsing. The binary
60+ - ` {done, binary()} ` : when the parsing is done. The binary
6261given correpond to the non parsed part of the internal buffer.
6362- ` {error, term{}} ` : when an error happen
6463<a name =" types " ></a >
@@ -73,7 +72,7 @@ given correpond to the non parsed part of the internal buffer.
7372
7473
7574<pre ><code >
76- body_result() = {more, <a href =" #type-parser " >parser()</a >, binary()} | {ok, binary(), <a href =" #type-parser " >parser()</a >} | {done, binary()} | done
75+ body_result() = {more, <a href =" #type-parser " >parser()</a >, binary()} | {ok, binary(), <a href =" #type-parser " >parser()</a >} | {done, binary()}
7776</code ></pre >
7877
7978
@@ -236,7 +235,7 @@ Properties are:
236235- ` buffer ` : internal buffer of the parser (non parsed)
237236- ` state ` : the current state (on_status, on_header, on_body, done)
238237- ` version ` : HTTP version
239- - ` content_lenght ` : content length header if any
238+ - ` content_length ` : content length header if any
240239- ` transfer_encoding ` : transfer encoding header if any
241240- ` content_type ` : content type header if any
242241- ` location ` : location header if any
0 commit comments