/[Apache-SVN]
ViewVC logotype

Revision 1665195


Jump to revision: Previous Next
Author: rhuijben
Date: Mon Mar 9 11:39:39 2015 UTC (9 years ago)
Changed paths: 1
Log Message:
In ra-serf: stop handling HTTP status 405 'Method forbidden' as a generic
out of date error. When locking this is the error we get when the resource
does not exist in HEAD, but in general it tells us that there is an
authorization problem.

As the lock code has its own http status handling now, we can change
the error reported from the generic error handling code path.

This should give users that accidentally use anonymous 'http' on a
server that uses 'https' for authorized operations a much better response,
than a simple out of date error (with the recommendation to update added
by their client).

Note that in most cases the detailed error response from the server
is used instead of this generic error code for just the HTTP status.

* subversion/libsvn_ra_serf/util.c
  (svn_ra_serf__error_on_status): Tweak generic error for http status 405.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_ra_serf/util.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26