Merge branch 'master' into develop

This commit is contained in:
Mark Haines 2015-01-08 09:43:48 +00:00
commit 8ac9199f56
3 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
0.6.1
0.6.1a

View File

@ -16,4 +16,4 @@
""" This is a reference implementation of a Matrix home server.
"""
__version__ = "0.6.1"
__version__ = "0.6.1a"

View File

@ -53,7 +53,7 @@ class SimpleHttpClient(object):
uri.encode("ascii"),
headers=Headers({
b"Content-Type": [b"application/x-www-form-urlencoded"],
b"User-Agent": AGENT_NAME,
b"User-Agent": [AGENT_NAME],
}),
bodyProducer=FileBodyProducer(StringIO(query_bytes))
)
@ -89,7 +89,7 @@ class SimpleHttpClient(object):
"GET",
uri.encode("ascii"),
headers=Headers({
b"User-Agent": AGENT_NAME,
b"User-Agent": [AGENT_NAME],
})
)
@ -114,7 +114,7 @@ class CaptchaServerHttpClient(SimpleHttpClient):
bodyProducer=FileBodyProducer(StringIO(query_bytes)),
headers=Headers({
b"Content-Type": [b"application/x-www-form-urlencoded"],
b"User-Agent": AGENT_NAME,
b"User-Agent": [AGENT_NAME],
})
)