~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/http_transport.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-12 07:17:28 UTC
  • mto: (1185.11.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050712071728-ab7234b176ee64ed
Moving the multi-get functionality higher up into the Branch class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        
77
77
 
78
78
class HttpTransport(Transport):
79
 
    """This is the transport agent for local filesystem access."""
 
79
    """This is the transport agent for http:// access.
 
80
    
 
81
    TODO: Implement pipelined versions of all of the *_multi() functions.
 
82
    """
80
83
 
81
84
    def __init__(self, base):
82
85
        """Set the base path where files will be stored."""
129
132
        except urllib2.URLError:
130
133
            return False
131
134
 
132
 
    def has_multi(self, relpaths):
133
 
        """Return True/False for each entry in relpaths
134
 
 
135
 
        TODO: Implement HttpTransport.has_multi()
136
 
        """
137
 
        return super(HttpTransport, self).has_multi(relpaths)
138
 
 
139
135
    def get(self, relpath, decode=False):
140
136
        """Get the file at the given relative path.
141
137