Sure that would be really cool :)


On Wed, Mar 26, 2014 at 9:05 AM, Michael Weibel <notifications@github.com>wrote:

> In src/hackney_http.erl:
>
> > @@ -215,7 +203,12 @@ parse_response_line(<< "HTTP/", High, ".", Low, " ", Status/binary >>, St)
> >          when High >= $0, High =< $9, Low >= $0, Low =< $9 ->
> >
> >      Version = { High -$0, Low - $0},
> > -    [StatusCode, Reason] = binary:split(Status, <<" ">>, [trim]),
> > +    [StatusCode, Reason] = case binary:split(Status, <<" ">>, [trim]) of
> > +        [Code, AReason] ->
>
> ok, good to know. In case you'd like to have this changed I can do another
> PR :)
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/benoitc/hackney_lib/pull/15/files#r10967023>
> .
>