Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitLab: Fix post_gitlab_snippet headers
This has been broken since 98df89e when it was changed to use hub->http_post Other than Content and Content_Type k:v pairs, hub->http_request() presumes all other k:v pairs are headers. By calling with with headers => { foo=> bar }, the actual arguments into http_client->do_request() were headers => { headers => { foo => bar } } instead of headers => { foo => bar }
- Loading branch information