mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-15 17:51:10 +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__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
# FIXME: SURELY these should be killed?!
|
||||||
_destination_mappings = {
|
_destination_mappings = {
|
||||||
"red": "localhost:8080",
|
"red": "localhost:8080",
|
||||||
"blue": "localhost:8081",
|
"blue": "localhost:8081",
|
||||||
|
@ -147,7 +147,7 @@ class TwistedHttpClient(HttpClient):
|
||||||
destination.encode("ascii"),
|
destination.encode("ascii"),
|
||||||
"GET",
|
"GET",
|
||||||
path.encode("ascii"),
|
path.encode("ascii"),
|
||||||
query_bytes
|
query_bytes=query_bytes
|
||||||
)
|
)
|
||||||
|
|
||||||
body = yield readBody(response)
|
body = yield readBody(response)
|
||||||
|
|
Loading…
Reference in a new issue