/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/http_server.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-12 17:14:00 UTC
  • mfrom: (6809.1.1 ws_comma)
  • Revision ID: jelmer@jelmer.uk-20171112171400-x19h7e3vw8t0u3w4
Merge lp:~gz/brz/ws_comma

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
    def get_multiple_ranges(self, file, file_size, ranges):
230
230
        self.send_response(206)
231
231
        self.send_header('Accept-Ranges', 'bytes')
232
 
        boundary = '%d' % random.randint(0,0x7FFFFFFF)
 
232
        boundary = '%d' % random.randint(0, 0x7FFFFFFF)
233
233
        self.send_header('Content-Type',
234
234
                         'multipart/byteranges; boundary=%s' % boundary)
235
235
        boundary_line = '--%s\r\n' % boundary