Checkout
rhuijben
committed
on 12 Mar 15
In ra-serf: make all our custom 'REPORT' requests expect only HTTP status 200
as OK (instead of just >= 200 && < 299), and switch them to a … Show more
In ra-serf: make all our custom 'REPORT' requests expect only HTTP status 200

as OK (instead of just >= 200 && < 299), and switch them to a helper function

that may provide more detailed error messages if they fail, but with less

specific arguments.

Note that unlike in <= 1.8.x real error reports will never reach this code,

as server error reports are already handled in the request callbacks, so

this most likely only affects non-subversion responses.

* subversion/libsvn_ra_serf/getlocations.c

 (svn_ra_serf__get_locations): Expect 200.

* subversion/libsvn_ra_serf/getlocationsegments.c

 (svn_ra_serf__get_locations): Expect 200.

* subversion/libsvn_ra_serf/log.c

 (svn_ra_serf__get_log): Expect 200.

* subversion/libsvn_ra_serf/mergeinfo.c

 (svn_ra_serf__get_mergeinfo): Expect 200.

* subversion/libsvn_ra_serf/replay.c

 (svn_ra_serf__replay): Expect 200.

Show less