HTTP.jl icon indicating copy to clipboard operation
HTTP.jl copied to clipboard

HTTPClient fails for every other request

Open vtjnash opened this issue 12 years ago • 0 comments

Every other "get" with an HTTPClient object seems to fail:

julia> conn=HTTPClient.open("www.google.com",80)
julia> x=HTTPClient.get(conn,"/")
# works
julia> x=HTTPClient.get(conn,"/")
ERROR: type Nothing has no field captures
 in parse_response_line at /Users/jameson/.julia/HTTP/src/Common/Parser.jl:138
 in handle_response at /Users/jameson/.julia/HTTP/src/Client.jl:47
 in get at /Users/jameson/.julia/HTTP/src/Client.jl:105
 in get at /Users/jameson/.julia/HTTP/src/Client.jl:114
julia> x=HTTPClient.get(conn,"/")
# works
julia> x=HTTPClient.get(conn,"/")
# fails
julia> #etc

vtjnash avatar May 26 '13 02:05 vtjnash