Skip to content
Snippets Groups Projects
Commit 8ac9199f authored by Mark Haines's avatar Mark Haines
Browse files

Merge branch 'master' into develop

parents 42507b00 f3467d46
No related branches found
No related tags found
No related merge requests found
0.6.1 0.6.1a
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
""" This is a reference implementation of a Matrix home server. """ This is a reference implementation of a Matrix home server.
""" """
__version__ = "0.6.1" __version__ = "0.6.1a"
...@@ -53,7 +53,7 @@ class SimpleHttpClient(object): ...@@ -53,7 +53,7 @@ class SimpleHttpClient(object):
uri.encode("ascii"), uri.encode("ascii"),
headers=Headers({ headers=Headers({
b"Content-Type": [b"application/x-www-form-urlencoded"], b"Content-Type": [b"application/x-www-form-urlencoded"],
b"User-Agent": AGENT_NAME, b"User-Agent": [AGENT_NAME],
}), }),
bodyProducer=FileBodyProducer(StringIO(query_bytes)) bodyProducer=FileBodyProducer(StringIO(query_bytes))
) )
...@@ -89,7 +89,7 @@ class SimpleHttpClient(object): ...@@ -89,7 +89,7 @@ class SimpleHttpClient(object):
"GET", "GET",
uri.encode("ascii"), uri.encode("ascii"),
headers=Headers({ headers=Headers({
b"User-Agent": AGENT_NAME, b"User-Agent": [AGENT_NAME],
}) })
) )
...@@ -114,7 +114,7 @@ class CaptchaServerHttpClient(SimpleHttpClient): ...@@ -114,7 +114,7 @@ class CaptchaServerHttpClient(SimpleHttpClient):
bodyProducer=FileBodyProducer(StringIO(query_bytes)), bodyProducer=FileBodyProducer(StringIO(query_bytes)),
headers=Headers({ headers=Headers({
b"Content-Type": [b"application/x-www-form-urlencoded"], b"Content-Type": [b"application/x-www-form-urlencoded"],
b"User-Agent": AGENT_NAME, b"User-Agent": [AGENT_NAME],
}) })
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment