=== modified file 'bzrlib/transport/http/response.py' --- bzrlib/transport/http/response.py 2006-09-01 17:05:01 +0000 +++ bzrlib/transport/http/response.py 2006-10-11 08:42:44 +0000 @@ -251,10 +251,12 @@ try: content_type = headers['Content-Type'] except KeyError: - raise errors.InvalidHttpContentType(url, '', - msg='Missing Content-Type') + # We can't be multipart if there is no Content-Type header + is_multipart = False + else: + is_multipart = _is_multipart(content_type) - if _is_multipart(content_type): + if is_multipart: # Full fledged multipart response return HttpMultipartRangeResponse(url, content_type, data) else: