Fix previous merge to s/version_string/user_agent/

This commit is contained in:
Erik Johnston 2015-10-10 12:35:39 +01:00
parent 347aa3c225
commit a80ef851f7
1 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ class SimpleHttpClient(object):
"PUT",
uri.encode("ascii"),
headers=Headers({
b"User-Agent": [self.version_string],
b"User-Agent": [self.user_agent],
"Content-Type": ["application/json"]
}),
bodyProducer=FileBodyProducer(StringIO(json_str))
@ -231,7 +231,7 @@ class SimpleHttpClient(object):
"GET",
uri.encode("ascii"),
headers=Headers({
b"User-Agent": [self.version_string],
b"User-Agent": [self.user_agent],
})
)