diff options
Diffstat (limited to 'post-build-report.py')
-rw-r--r-- | post-build-report.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/post-build-report.py b/post-build-report.py index 7a40c37..5258100 100644 --- a/post-build-report.py +++ b/post-build-report.py @@ -62,6 +62,7 @@ def _push_object(auth_pw, backend_url, endpoint, params, files): conn.putheader("Authorization", "Token %s" % auth_pw) conn.putheader('Content-Type', content_type) conn.putheader('Content-Length', str(len(body))) + conn.putheader('Host', usplit.netloc) conn.endheaders() conn.send(body) errcode, errmsg, headers = conn.getreply() |