mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-22 07:35:00 -05:00
Fix previous merge to s/version_string/user_agent/
This commit is contained in:
parent
347aa3c225
commit
a80ef851f7
@ -190,7 +190,7 @@ class SimpleHttpClient(object):
|
||||
"PUT",
|
||||
uri.encode("ascii"),
|
||||
headers=Headers({
|
||||
b"User-Agent": [self.version_string],
|
||||
b"User-Agent": [self.user_agent],
|
||||
"Content-Type": ["application/json"]
|
||||
}),
|
||||
bodyProducer=FileBodyProducer(StringIO(json_str))
|
||||
@ -231,7 +231,7 @@ class SimpleHttpClient(object):
|
||||
"GET",
|
||||
uri.encode("ascii"),
|
||||
headers=Headers({
|
||||
b"User-Agent": [self.version_string],
|
||||
b"User-Agent": [self.user_agent],
|
||||
})
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user