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