Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Apr 18, 2014
1 parent 9b246c1 commit eccf9f0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/hackney.erl
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ request(Method, URL, Headers, Body) ->
%% <li><code>{ok, Ref}</code> Return the request reference when you
%% decide to stream the requet. You can use the returned reference to
%% stream the request body and continue to handle the response.</li>
%% <li><code>{error, {closed, &lt;&lt;&gt;&gt;}}</code> A body was expected but
%% <li><code>{error, {closed, PartialBody}}</code> A body was expected but
%% instead the remote closed the response after sending the headers.
%% Equivalent to the curl message <code>no chunk, no close, no size.
%% Assume close to signal end</code>.</li>
%% Assume close to signal end</code>. </li>
%% <li><code>{error, term()}</code> other errors.</li>
%% </ul>
-spec request(term(), url() | binary(), list(), term(), list())
Expand Down Expand Up @@ -534,8 +534,6 @@ resume_stream(Ref) ->
stop_async(Ref) ->
hackney_manager:stop_async_response(Ref).



%% internal functions
%%
%%
Expand Down

0 comments on commit eccf9f0

Please sign in to comment.