anchor.diff:          lhttpc_lib:header_value("x-test-orig-trailer-1", headers(Response1))),
       % Make sure it works with no body part in the original request as well
       Headers = [{"Transfer-Encoding", "chunked"}],
  -    {ok, UploadState2} = lhttpc:request(URL, post, Headers, [], 1000, Options),
  +    {ok, partial_upload} = lhttpc:request_client(Client, URL, post, Headers, [], 1000, Options),
       upload_parts(Client, Body),
       {ok, Response2} = lhttpc:send_trailers(Client, [Trailer]),
       ?assertEqual({200, "OK"}, status(Response2)),
  
positive.code: connection_timeout() ->
      Port = start(gen_tcp, [fun webserver_utils:simple_response/5, fun webserver_utils:simple_response/5]),
      URL = url(Port, "/close_conn"),
      lhttpc:add_pool(lhttpc_manager),
      lhttpc_manager:update_connection_timeout(lhttpc_manager, 50), % very short keep alive
      {ok, Response} = lhttpc:request(URL, get, [], 100),
      ?assertEqual({200, "OK"}, status(Response)),
  
negative.code:     URL = ssl_url(Port, "/simple"),
      Body = "SSL Test <o/",
      BinaryBody = list_to_binary(Body),
      {ok, Response} = lhttpc:request(URL, "POST", [], Body, 1000, [{pool_options, [{pool_ensure, true}, {pool, lhttpc_manager}]}]),
      ?assertEqual({200, "OK"}, status(Response)),
      ?assertEqual(BinaryBody, body(Response)).
  
  ssl_chunked() ->
      Port = start(ssl, [fun webserver_utils:chunked_response/5, fun webserver_utils:chunked_response_t/5]),
      URL = ssl_url(Port, "/ssl_chunked"),
  	{ok, Client} = lhttpc:connect_client(URL, []),
      FirstResult = lhttpc:request_client(Client, URL, get, [], [], 100, [{pool_options, [{pool_ensure, true}, {pool, lhttpc_manager}]}]),
      ?assertMatch({ok, _}, FirstResult),
      {ok, FirstResponse} = FirstResult,
      ?assertEqual({200, "OK"}, status(FirstResponse)),
      ?assertEqual(list_to_binary(webserver_utils:default_string()), body(FirstResponse)),
      ?assertEqual("chunked", lhttpc_lib:header_value("transfer-encoding",
              headers(FirstResponse))),
      SecondResult = lhttpc:request_client(Client, URL, get, [], [], 100, [{pool_options, [{pool_ensure, true}, {pool, lhttpc_manager}]}]),
      {ok, SecondResponse} = SecondResult,
      ?assertEqual({200, "OK"}, status(SecondResponse)),
      ?assertEqual(<<"Again, great success!">>, body(SecondResponse)),
  