/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 bzrlib/transport/http/response.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
        try:
252
252
            content_type = headers['Content-Type']
253
253
        except KeyError:
254
 
            # We can't be multipart if there is no Content-Type header
 
254
            # When there is no content-type header we treat
 
255
            # the response as being of type 'application/octet-stream' as per
 
256
            # RFC2616 section 7.2.1.
 
257
            # Therefore it is obviously not multipart
 
258
            content_type = 'application/octet-stream'
255
259
            is_multipart = False
256
260
        else:
257
261
            is_multipart = _is_multipart(content_type)