diff options
author | Erik Johnston <erik@matrix.org> | 2015-10-10 12:35:39 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-10-10 12:35:39 +0100 |
commit | a80ef851f7e624b9eee91f134b233f3c0742bb3e (patch) | |
tree | c98cafbdbf8fc40460ac1cf1cb626712fbda06b4 | |
parent | Merge pull request #295 from stevenhammerton/sh-cas-auth (diff) | |
download | synapse-a80ef851f7e624b9eee91f134b233f3c0742bb3e.tar.xz |
Fix previous merge to s/version_string/user_agent/
Diffstat (limited to '')
-rw-r--r-- | synapse/http/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py index ca642a7a06..9a5869abee 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -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], }) ) |