summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-10 12:35:39 +0100
committerErik Johnston <erik@matrix.org>2015-10-10 12:35:39 +0100
commita80ef851f7e624b9eee91f134b233f3c0742bb3e (patch)
treec98cafbdbf8fc40460ac1cf1cb626712fbda06b4
parentMerge pull request #295 from stevenhammerton/sh-cas-auth (diff)
downloadsynapse-a80ef851f7e624b9eee91f134b233f3c0742bb3e.tar.xz
Fix previous merge to s/version_string/user_agent/
Diffstat (limited to '')
-rw-r--r--synapse/http/client.py4
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],
             })
         )