mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-27 17:37:02 -05: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
@ -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…
x
Reference in New Issue
Block a user