Browse Source

Fixed bug when sending HEAD requests using persistent connections

pull/16/head
chandrusf 20 years ago
parent
commit
f2b7cf26ed
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/ibrowse_http_client.erl

+ 4
- 4
src/ibrowse_http_client.erl View File

@ -6,7 +6,7 @@
%%% Created : 11 Oct 2003 by Chandrashekhar Mullaparthi <chandrashekhar.mullaparthi@t-mobile.co.uk>
%%%-------------------------------------------------------------------
-module(ibrowse_http_client).
-vsn('$Id: ibrowse_http_client.erl,v 1.1 2005/05/05 22:28:28 chandrusf Exp $ ').
-vsn('$Id: ibrowse_http_client.erl,v 1.2 2005/05/31 11:56:06 chandrusf Exp $ ').
-behaviour(gen_server).
%%--------------------------------------------------------------------
@ -204,10 +204,10 @@ handle_info({{send_req, [Url, Headers, Method,
end,
State_2 = case Status of
idle ->
State_1#state{status=get_header,
cur_req=NewReq};
State_1#state{status = get_header,
cur_req = NewReq};
_ ->
State_1
State_1#state{cur_req = NewReq}
end,
case StreamTo of
undefined ->

Loading…
Cancel
Save