summaryrefslogtreecommitdiff
path: root/distbuild
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-04-04 17:44:01 +0100
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-04-11 14:54:08 +0100
commit020c4590037c72f93b22708eb27ec6fd60b03484 (patch)
treeed7ed760e4069e13a666b4da214cbc919d96ac27 /distbuild
parent41dc6186316d4def134440c3ccad8e8ae83079bf (diff)
downloadmorph-020c4590037c72f93b22708eb27ec6fd60b03484.tar.gz
Set body and headers in message
body and headers must now be specified for http-request message.
Diffstat (limited to 'distbuild')
-rw-r--r--distbuild/worker_build_scheduler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py
index 315d3094..7953447f 100644
--- a/distbuild/worker_build_scheduler.py
+++ b/distbuild/worker_build_scheduler.py
@@ -358,7 +358,8 @@ class WorkerConnection(distbuild.StateMachine):
suffixes))
msg = distbuild.message(
- 'http-request', id=self._request_ids.next(), url=url, method='GET')
+ 'http-request', id=self._request_ids.next(), url=url,
+ method='GET', body=None, headers=None)
self._helper_id = msg['id']
req = distbuild.HelperRequest(msg)
self.mainloop.queue_event(distbuild.HelperRouter, req)