181
178
content_length += self._header_line_length(
182
179
'Content-Range', 'bytes %d-%d/%d' % (start, end, file_size))
183
180
content_length += len('\r\n') # end headers
185
182
content_length += len(boundary_line)
186
183
self.send_header('Content-length', content_length)