diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-29 13:51:51 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-29 13:51:51 -0400 |
commit | 7cbae61dbddefb98f1c5b412d8d72bf5ad883ac9 (patch) | |
tree | 52b93d5d6b44746b378e458978ffefb65a5a17a3 /app/Core/HttpClient.php | |
parent | 5536f6c6ce591ba05a169d2e33b6fb240378d8a4 (diff) |
Add Hipchat integration
Diffstat (limited to 'app/Core/HttpClient.php')
-rw-r--r-- | app/Core/HttpClient.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Core/HttpClient.php b/app/Core/HttpClient.php index 96860152..e1d90858 100644 --- a/app/Core/HttpClient.php +++ b/app/Core/HttpClient.php @@ -47,8 +47,9 @@ class HttpClient } $headers = array( - 'Connection: close', 'User-Agent: '.self::HTTP_USER_AGENT, + 'Content-Type: application/json', + 'Connection: close', ); $context = stream_context_create(array( |