anchor.diff:          {not_found, Url} ->
               case do_put(Url, [], ValueGen) of
                   ok ->
  -                    disconnect(Url),
                       {ok, S2};
                   {error, Reason} ->
  -                    disconnect(Url),
                       {error, Reason, S2}
               end;
   
  
positive.code: %% "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  %% KIND, either express or implied.  See the License for the
  %% specific language governing permissions and limitations
  %% under the License.    
  %%
  %% -------------------------------------------------------------------
  -module(riak_bench_driver_http_raw).
  
negative.code: 
  
  send_request(Url, Headers, Method, Body, Options) ->
      send_request(Url, Headers, Method, Body, Options, 3).
  
  send_request(Url, Headers, Method, Body, Options, 0) ->
      {error, max_retries};
  send_request(Url, Headers, Method, Body, Options, Count) ->
      Pid = connect(Url),
      case catch(ibrowse_http_client:send_req(Pid, Url, Headers, Method, Body, Options, 15000)) of
          {'EXIT', {timeout, _}} ->
              {error, req_timedout};
          {'EXIT', Reason} ->
              {error, {'EXIT', Reason}};
          {error, connection_closed} ->
              disconnect(Url),
              send_request(Url, Headers, Method, Body, Options);
          Other ->
              Other
      end.
  