mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-20 14:44:05 +00:00
User-Agent shouldn't contain a space, change "MusicBrainz Picard" to "MusicBrainz-Picard"
This commit is contained in:
@@ -206,7 +206,7 @@ class XmlWebService(QtNetwork.QHttp):
|
||||
header.setValue("Host", "%s" % host)
|
||||
else:
|
||||
header.setValue("Host", "%s:%d" % (host, port))
|
||||
header.setValue("User-Agent", "MusicBrainz Picard/%s" % version_string)
|
||||
header.setValue("User-Agent", "MusicBrainz-Picard/%s" % version_string)
|
||||
header.setValue("Connection", "Keep-Alive")
|
||||
if method == "POST":
|
||||
header.setContentType("application/x-www-form-urlencoded")
|
||||
|
||||
Reference in New Issue
Block a user