diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-04-04 17:44:01 +0100 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-04-11 14:54:08 +0100 |
commit | 020c4590037c72f93b22708eb27ec6fd60b03484 (patch) | |
tree | ed7ed760e4069e13a666b4da214cbc919d96ac27 /distbuild/worker_build_scheduler.py | |
parent | 41dc6186316d4def134440c3ccad8e8ae83079bf (diff) | |
download | morph-020c4590037c72f93b22708eb27ec6fd60b03484.tar.gz |
Set body and headers in message
body and headers must now be specified for http-request message.
Diffstat (limited to 'distbuild/worker_build_scheduler.py')
-rw-r--r-- | distbuild/worker_build_scheduler.py | 3 |
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) |