In libsvn_ra_serf: Delay the http status based failure creation until the
response is completely read. This allows reading further responses from the
same connection, which would fail before this patch. This finally allows
handling HTTP 404 errors like other http status failures.

* subversion/libsvn_ra_serf/getlocks.c
  (svn_ra_serf__get_locks): Don't fail on 404 errors.

* subversion/libsvn_ra_serf/options.c
  (create_options_req): Don't fail via status code as we probe for repositories
    here.

* subversion/libsvn_ra_serf/property.c
  (svn_ra_serf__deliver_props): Allow unexpected status codes.

* subversion/libsvn_ra_serf/ra_serf.h
  (svn_ra_serf__deliver_props): Document status behavior.

* subversion/libsvn_ra_serf/replay.c
  (svn_ra_serf__replay_range): Request default error behavior for propfind.

* subversion/libsvn_ra_serf/update.c
  (fetch_file,
   end_report): Request default error behavior.

* subversion/libsvn_ra_serf/util.c
  (handle_server_error): Remove function.
  (svn_ra_serf__handle_xml_parser): Remove 404 code.
  (handle_response): Remove 404 specialization. Delay status based error
    creation until the request is completed, like how we handle server
    errors.
  (handle_response_cb): Return APR_EOF when serf reported EOF for the request.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1553274 13f79535-47bb-0310-9956-ffa450edef68