diff options
author | Erik Johnston <erikj@jki.re> | 2017-07-12 10:26:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-12 10:26:29 +0100 |
commit | 28e8c46f2901907b5a3ff0fc28763c85ef75aa40 (patch) | |
tree | 4d6c407c56ca5bfd1b2d63c76e87bbb6bab10d77 /synapse/http | |
parent | Merge pull request #2354 from krombel/reduce_static_sync_reply (diff) | |
parent | Comment (diff) | |
download | synapse-28e8c46f2901907b5a3ff0fc28763c85ef75aa40.tar.xz |
Merge pull request #2352 from matrix-org/erikj/group_server_split
Initial Group Server
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py index 7ef3d526b1..8a27e3b422 100644 --- a/synapse/http/server.py +++ b/synapse/http/server.py @@ -145,7 +145,9 @@ def wrap_request_handler(request_handler, include_metrics=False): "error": "Internal server error", "errcode": Codes.UNKNOWN, }, - send_cors=True + send_cors=True, + pretty_print=_request_user_agent_is_curl(request), + version_string=self.version_string, ) finally: try: |