fix http client GET parameters; somehow missing named param. how could this have ever worked!?

This commit is contained in:
Matthew Hodgson 2014-08-14 02:59:54 +01:00
parent d7dcef7ff4
commit a4da962bab
1 changed files with 2 additions and 2 deletions

View File

@ -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)