~andidog/bzr-webdav/empty-put-request-bug

« back to all changes in this revision

Viewing changes to webdav.py

  • Committer: Vincent Ladeuil
  • Date: 2008-06-30 15:58:20 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20080630155820-zsr9oipdcdg9fhks
Fix #243491 by disabling smart medium for DAV.

* webdav.py:
(HttpDavTransport): We are not and never will be a smart medium.

Show diffs side-by-side

added added

removed removed

Lines of Context:
859
859
 
860
860
        return before
861
861
 
 
862
    def get_smart_medium(self):
 
863
        # smart server and webdav are exclusive. There is really no point to
 
864
        # use webdav if a smart server is available
 
865
        raise errors.NoSmartMedium(self)
 
866
 
862
867
 
863
868
def get_test_permutations():
864
869
    """Return the permutations to be used in testing."""