From a4da962babcb865861af6bfcd4e318dc386d7c5e Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 14 Aug 2014 02:59:54 +0100 Subject: [PATCH] fix http client GET parameters; somehow missing named param. how could this have ever worked!? --- synapse/http/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/http/client.py b/synapse/http/client.py index 5c73d62cf..36ba2c659 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -32,7 +32,7 @@ import urllib logger = logging.getLogger(__name__) - +# FIXME: SURELY these should be killed?! _destination_mappings = { "red": "localhost:8080", "blue": "localhost:8081", @@ -147,7 +147,7 @@ class TwistedHttpClient(HttpClient): destination.encode("ascii"), "GET", path.encode("ascii"), - query_bytes + query_bytes=query_bytes ) body = yield readBody(response)