diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-05-11 16:07:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-11 16:07:47 +0100 |
commit | c25d7ba12e136a64c4a94964298b66de2e271678 (patch) | |
tree | 0a25aae9a5836826d49ea08f6ec88e2ff5c286fa /synapse/rest/client/v1/pusher.py | |
parent | Merge pull request #3209 from damir-manapov/master (diff) | |
parent | Set Server header in SynapseRequest (diff) | |
download | synapse-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.py | 1 |
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), )) |