~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
1737
1737
        InvalidHttpResponse.__init__(self, path, msg)
1738
1738
 
1739
1739
 
 
1740
class HttpBoundaryMissing(InvalidHttpResponse):
 
1741
    """A multipart response ends with no boundary marker.
 
1742
 
 
1743
    This is a special case caused by buggy proxies, described in
 
1744
    <https://bugs.launchpad.net/bzr/+bug/198646>.
 
1745
    """
 
1746
 
 
1747
    _fmt = "HTTP MIME Boundary missing for %(path)s: %(msg)s"
 
1748
 
 
1749
    def __init__(self, path, msg):
 
1750
        InvalidHttpResponse.__init__(self, path, msg)
 
1751
 
 
1752
 
1740
1753
class InvalidHttpContentType(InvalidHttpResponse):
1741
1754
 
1742
1755
    _fmt = 'Invalid http Content-type "%(ctype)s" for %(path)s: %(msg)s'