mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
fix http client GET parameters; somehow missing named param. how could this have ever worked!?
This commit is contained in:
parent
d7dcef7ff4
commit
a4da962bab
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue