~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/_pycurl.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-19 12:53:48 UTC
  • mfrom: (3431.2.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20080519125348-0cj2omrjvzlh88xy
(vila) Make both http implementations raise appropriate exceptions
        when posting smart requests(#230223)

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
        # requests
279
279
        if code == 403:
280
280
            raise errors.TransportError(
281
 
                'Server refuses to fullfil the request for: %s' % url)
 
281
                'Server refuses to fulfill the request (403 Forbidden)'
 
282
                ' for %s' % url)
282
283
        else:
283
284
            if info is None:
284
285
                msg = ''