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:
|
||||
pass
|
||||
if rest is not None:
|
||||
header = ';'.join(content_type, rest)
|
||||
header = ';'.join((content_type, rest))
|
||||
else:
|
||||
header = content_type
|
||||
reply.setHeader(QNetworkRequest.ContentTypeHeader, header)
|
||||
|
Loading…
Reference in New Issue
Block a user