FIX: omit the default port in the `Host` header

This commit is contained in:
Robin Ward 2017-06-30 12:36:02 -04:00
parent a55e679563
commit 46a3b30021
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ module Jobs
result = Excon.post(push_url,
body: payload.merge(notifications: notifications).to_json,
omit_default_port: true,
headers: { 'Content-Type' => 'application/json', 'Accept' => 'application/json' }
)