anchor.diff:  %% "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.    
  +%% under the License.
   %%
   %% -------------------------------------------------------------------
   -module(riak_bench_driver_http_raw).
  
positive.code: %% Internal functions
  %% ====================================================================
  
  next_url(State) when State#state.base_urls_index > tuple_size(State#state.base_urls) ->
      { element(1, State#state.base_urls),
        State#state { base_urls_index = 1 } };
  
negative.code:             {ok, Url, Headers};
          {ok, "200", Headers, _Body} ->
              {ok, Url, Headers};
          {ok, Code, _Headers, _Body} ->
              {error, {http_error, Code}};
          {error, Reason} ->
              disconnect(Url),
              {error, Reason}
      end.
  
  