utils.http: Fix joining.
This commit is contained in:
parent
157f5b211f
commit
91a701552d
@ -105,7 +105,7 @@ def change_content_type(reply, mapping):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
if rest is not None:
|
if rest is not None:
|
||||||
header = ';'.join(content_type, rest)
|
header = ';'.join((content_type, rest))
|
||||||
else:
|
else:
|
||||||
header = content_type
|
header = content_type
|
||||||
reply.setHeader(QNetworkRequest.ContentTypeHeader, header)
|
reply.setHeader(QNetworkRequest.ContentTypeHeader, header)
|
||||||
|
Loading…
Reference in New Issue
Block a user