~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2012-02-14 17:22:37 UTC
  • mfrom: (6466 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120214172237-7dv7er3n4uy8d5m4
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        # Default to the whole file of unspecified size
83
83
        self.set_range(0, -1)
84
84
 
 
85
    def close(self):
 
86
        """Close this file.
 
87
 
 
88
        Dummy implementation for consistency with the 'file' API.
 
89
        """
 
90
 
85
91
    def set_range(self, start, size):
86
92
        """Change the range mapping"""
87
93
        self._start = start