summary refs log tree commit diff
path: root/synapse/rest/client/v1/pusher.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-05-11 16:07:47 +0100
committerGitHub <noreply@github.com>2018-05-11 16:07:47 +0100
commitc25d7ba12e136a64c4a94964298b66de2e271678 (patch)
tree0a25aae9a5836826d49ea08f6ec88e2ff5c286fa /synapse/rest/client/v1/pusher.py
parentMerge pull request #3209 from damir-manapov/master (diff)
parentSet Server header in SynapseRequest (diff)
downloadsynapse-c25d7ba12e136a64c4a94964298b66de2e271678.tar.xz
Merge pull request #3208 from matrix-org/rav/more_refactor_request_handler
Set Server header in SynapseRequest
Diffstat (limited to 'synapse/rest/client/v1/pusher.py')
-rw-r--r--synapse/rest/client/v1/pusher.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/pusher.py b/synapse/rest/client/v1/pusher.py
index 0206e664c1..40e523cc5f 100644
--- a/synapse/rest/client/v1/pusher.py
+++ b/synapse/rest/client/v1/pusher.py
@@ -176,7 +176,6 @@ class PushersRemoveRestServlet(RestServlet):
 
         request.setResponseCode(200)
         request.setHeader(b"Content-Type", b"text/html; charset=utf-8")
-        request.setHeader(b"Server", self.hs.version_string)
         request.setHeader(b"Content-Length", b"%d" % (
             len(PushersRemoveRestServlet.SUCCESS_HTML),
         ))